build-scripts/naclbuild.sh
changeset 8880 ee5117b56b93
parent 8877 0d691f3734ac
equal deleted inserted replaced
8879:f6e4f24df1ac 8880:ee5117b56b93
    18 fi
    18 fi
    19 
    19 
    20 echo "Using SDK at $NACL_SDK_ROOT"
    20 echo "Using SDK at $NACL_SDK_ROOT"
    21 
    21 
    22 export NACL_SDK_ROOT="$NACL_SDK_ROOT"
    22 export NACL_SDK_ROOT="$NACL_SDK_ROOT"
    23 export CFLAGS="$CFLAGS -I$NACL_SDK_ROOT/include"
    23 export CFLAGS="$CFLAGS -I$NACL_SDK_ROOT/include -I$NACL_SDK_ROOT/include/pnacl"
    24 
    24 
    25 NCPUS="1"
    25 NCPUS="1"
    26 case "$OSTYPE" in
    26 case "$OSTYPE" in
    27     darwin*)
    27     darwin*)
    28         NCPU=`sysctl -n hw.ncpu`
    28         NCPU=`sysctl -n hw.ncpu`