| 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. |
| 4 |
|
| 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" |
| 9 |
|
| 10 |
# GCC_COMPARE_DEBUG="-w%n-fcompare-debug not overridden"; |
| 11 |
|
| 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) |