Permalink
Browse files

right way to specify CFLAGS

  • Loading branch information...
1 parent 7143395 commit 5603755ac4fd4d7c6c4b9fce417bf1465f66a227 @tianyicui committed Nov 24, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 build.sh
View
@@ -2,12 +2,13 @@
set -e
unset LS_COLORS
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"
-export CFLAGS="-O3 -march=core2 -msse4.1 -w -pipe"
+
rm -rf BUILD
make \
MAKEJOBS=-j4 \
ARCH_CONFIGS="I386 X86_64" \
KERNEL_CONFIGS="RELEASE" \
VERBOSE=YES \
+ RC_CFLAGS="-O3 -march=core2 -msse4.1 -w -pipe" \
SDKROOT=/Developer/SDKs/MacOSX10.6.sdk \
install

0 comments on commit 5603755

Please sign in to comment.