Skip to content

Commit

Permalink
update build_config
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf committed May 14, 2016
1 parent 3668496 commit 78815da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ fi
if test -z "$TARGET_OS"; then
TARGET_OS=`uname -s`
fi

COMMON_FLAGS=
CROSS_COMPILE=
PLATFORM_CCFLAGS=
Expand Down Expand Up @@ -155,9 +154,11 @@ EOF
[ $? = 0 ] && SSL=1 && ! [ -e ssl ] && git clone https://github.com/yedf/handy-ssl.git ssl
[ x$SSL = x1 ] && PLATFORM_LIBS="$PLATFORM_LIBS -lssl -lcrypto"

COMMON_FLAGS="$COMMON_FLAGS -DLITTLE_ENDIAN=$PLATFORM_IS_LITTLE_ENDIAN -std=c++11"
PWD=`pwd`
COMMON_FLAGS="$COMMON_FLAGS -DLITTLE_ENDIAN=$PLATFORM_IS_LITTLE_ENDIAN -std=c++11 -I$PWD"
PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS"
PLATFORM_CXXFLAGS="$PLATFORM_CXXFLAGS $COMMON_FLAGS"
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -L$PWD"

echo "CC=$CC" >> $OUTPUT
echo "CXX=$CXX" >> $OUTPUT
Expand Down

0 comments on commit 78815da

Please sign in to comment.