2014-08-04 Robert Dewar <dewar@adacore.com>
[official-gcc.git] / config / bootstrap-debug-ckovw.mk
blob909b9047fc21dcd78321d72ed3a78874059355dc
1 # This BUILD_CONFIG option is to be used along with
2 # bootstrap-debug-lean and bootstrap-debug-lib in a full bootstrap, to
3 # check that all host and target files are built with -fcompare-debug.
5 # These arrange for a simple warning to be issued if -fcompare-debug
6 # is not given.
7 # BOOT_CFLAGS += -fcompare-debug="-w%n-fcompare-debug not overridden"
8 # TFLAGS += -fcompare-debug="-w%n-fcompare-debug not overridden"
10 # GCC_COMPARE_DEBUG="-w%n-fcompare-debug not overridden";
12 FORCE_COMPARE_DEBUG = \
13 GCC_COMPARE_DEBUG=$${GCC_COMPARE_DEBUG--fcompare-debug-not-overridden}; \
14 export GCC_COMPARE_DEBUG;
15 POSTSTAGE1_HOST_EXPORTS += $(FORCE_COMPARE_DEBUG)
16 BASE_TARGET_EXPORTS += $(FORCE_COMPARE_DEBUG)