test/make/configure.vm

changeset 37
ef09f80e911e
parent 34
4486849e6a6c
child 39
3ca85da78515
equal deleted inserted replaced
36:9e386a530bdf 37:ef09f80e911e
302 # Toolchain detection 302 # Toolchain detection
303 # this will insert make vars to config.mk 303 # this will insert make vars to config.mk
304 . make/toolchain.sh 304 . make/toolchain.sh
305 305
306 # add user specified flags to config.mk 306 # add user specified flags to config.mk
307 echo >> "$TEMP_DIR/config.mk" 307 echo "# project specific flags" >> "$TEMP_DIR/config.mk"
308 if [ -n "${ENV_CFLAGS}" ]; then 308 if [ -n "${ENV_CFLAGS}" ]; then
309 echo "CFLAGS += $ENV_CFLAGS" >> "$TEMP_DIR/config.mk" 309 echo "CFLAGS += $ENV_CFLAGS" >> "$TEMP_DIR/config.mk"
310 fi 310 fi
311 if [ -n "${ENV_CXXFLAGS}" ]; then 311 if [ -n "${ENV_CXXFLAGS}" ]; then
312 echo "CXXFLAGS += $ENV_CXXFLAGS" >> "$TEMP_DIR/config.mk" 312 echo "CXXFLAGS += $ENV_CXXFLAGS" >> "$TEMP_DIR/config.mk"

mercurial