test/configure

changeset 131
7241d072ace4
parent 130
424a0fb2c64f
child 133
59b14b75f12b
equal deleted inserted replaced
130:424a0fb2c64f 131:7241d072ace4
599 if [ -n "${TEMP_CXXFLAGS}" ] && [ -n "$lang_cpp" ]; then 599 if [ -n "${TEMP_CXXFLAGS}" ] && [ -n "$lang_cpp" ]; then
600 echo "CXXFLAGS += $TEMP_CXXFLAGS" >> "$TEMP_DIR/flags.mk" 600 echo "CXXFLAGS += $TEMP_CXXFLAGS" >> "$TEMP_DIR/flags.mk"
601 fi 601 fi
602 if [ "$BUILD_TYPE" = "debug" ]; then 602 if [ "$BUILD_TYPE" = "debug" ]; then
603 if [ -n "$lang_c" ]; then 603 if [ -n "$lang_c" ]; then
604 echo 'CFLAGS += ${DEBUG_CC_FLAGS}' >> "$TEMP_DIR/flags.mk" 604 echo 'CFLAGS += ${DEBUG_CFLAGS}' >> "$TEMP_DIR/flags.mk"
605 fi 605 fi
606 if [ -n "$lang_cpp" ]; then 606 if [ -n "$lang_cpp" ]; then
607 echo 'CXXFLAGS += ${DEBUG_CXX_FLAGS}' >> "$TEMP_DIR/flags.mk" 607 echo 'CXXFLAGS += ${DEBUG_CXXFLAGS}' >> "$TEMP_DIR/flags.mk"
608 fi 608 fi
609 fi 609 fi
610 if [ "$BUILD_TYPE" = "release" ]; then 610 if [ "$BUILD_TYPE" = "release" ]; then
611 if [ -n "$lang_c" ]; then 611 if [ -n "$lang_c" ]; then
612 echo 'CFLAGS += ${RELEASE_CC_FLAGS}' >> "$TEMP_DIR/flags.mk" 612 echo 'CFLAGS += ${RELEASE_CFLAGS}' >> "$TEMP_DIR/flags.mk"
613 fi 613 fi
614 if [ -n "$lang_cpp" ]; then 614 if [ -n "$lang_cpp" ]; then
615 echo 'CXXFLAGS += ${RELEASE_CXX_FLAGS}' >> "$TEMP_DIR/flags.mk" 615 echo 'CXXFLAGS += ${RELEASE_CXXFLAGS}' >> "$TEMP_DIR/flags.mk"
616 fi 616 fi
617 fi 617 fi
618 if [ -n "${TEMP_LDFLAGS}" ]; then 618 if [ -n "${TEMP_LDFLAGS}" ]; then
619 echo "LDFLAGS += $TEMP_LDFLAGS" >> "$TEMP_DIR/flags.mk" 619 echo "LDFLAGS += $TEMP_LDFLAGS" >> "$TEMP_DIR/flags.mk"
620 fi 620 fi

mercurial