[osx] build frameworks with -Os
authorPaul Brossier <piem@piem.org>
Fri, 21 Dec 2018 17:15:53 +0000 (18:15 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 21 Dec 2018 17:15:53 +0000 (18:15 +0100)
The new tests revealed a crash in test-pitchmcomb when compiling with
-Ofast (somewhere in fvec_median, but not reproducible from aubiopitch,
needs more poking).

scripts/build_apple_frameworks

index 35a53d5..9cb6661 100755 (executable)
@@ -13,7 +13,7 @@ mkdir -p "$OUTPUTDIR"
 # add git abbreviated commit hash
 #VERSION+=+$(git log --pretty=format:"%h" -1)
 
-CFLAGS="-Werror -Ofast"
+CFLAGS="-Werror -Os"
 WAFCONF="--disable-sndfile --disable-avcodec --disable-samplerate --enable-fat" # --disable-memcpy --disable-accelerate"
 
 export VERSION