src/main/resources/make/configure.vm

changeset 135
9afe68b15c66
parent 134
95ae5973c142
equal deleted inserted replaced
134:95ae5973c142 135:9afe68b15c66
486 #end 486 #end
487 487
488 # build type 488 # build type
489 if [ "$BUILD_TYPE" = "debug" ]; then 489 if [ "$BUILD_TYPE" = "debug" ]; then
490 TEMP_CFLAGS="\${DEBUG_CFLAGS}$TEMP_CFLAGS" 490 TEMP_CFLAGS="\${DEBUG_CFLAGS}$TEMP_CFLAGS"
491 TEMP_CXXFLAGS="\${DEBUG_CXXFLAGS}$TEMP_CXXFLAGS" 491 TEMP_CXXFLAGS="\${DEBUG_CXXFLAGS}$TEMP_CXXFLAGS"
492 fi 492 fi
493 if [ "$BUILD_TYPE" = "release" ]; then 493 if [ "$BUILD_TYPE" = "release" ]; then
494 TEMP_CFLAGS="\${RELEASE_CFLAGS}$TEMP_CFLAGS" 494 TEMP_CFLAGS="\${RELEASE_CFLAGS}$TEMP_CFLAGS"
495 TEMP_CXXFLAGS="\${RELEASE_CXXFLAGS}$TEMP_CXXFLAGS" 495 TEMP_CXXFLAGS="\${RELEASE_CXXFLAGS}$TEMP_CXXFLAGS"
496 fi 496 fi
497 497
498 # add general dependency flags to flags.mk 498 # add general dependency flags to flags.mk
499 echo "# general flags" >> "$TEMP_DIR/flags.mk" 499 echo "# general flags" >> "$TEMP_DIR/flags.mk"
500 if [ -n "${TEMP_CFLAGS}" ] && [ -n "$lang_c" ]; then 500 if [ -n "${TEMP_CFLAGS}" ] && [ -n "$lang_c" ]; then

mercurial