Fix CFLAGS override in sysdeps/ieee754/dbl-64

Use += instead of = to avoid overriding target specific CFLAGS settings.
Ideally the settings in target Makefiles would have precedence, but the
Makefile inclusion order does not allow that, with this fix at least the
target settings are not dropped.
This commit is contained in:
Szabolcs Nagy 2017-08-24 15:56:11 +01:00
parent fcaaca412f
commit 8aa48656bb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2017-08-23 H.J. Lu <hongjiu.lu@intel.com> 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.

View File

@ -1,6 +1,6 @@
ifeq ($(subdir),math) ifeq ($(subdir),math)
# branred depends on precise IEEE double rounding # branred depends on precise IEEE double rounding
CFLAGS-branred.c = $(config-cflags-nofma) CFLAGS-branred.c += $(config-cflags-nofma)
CFLAGS-e_sqrt.c = $(config-cflags-nofma) CFLAGS-e_sqrt.c += $(config-cflags-nofma)
CFLAGS-e_pow.c = $(config-cflags-nofma) CFLAGS-e_pow.c += $(config-cflags-nofma)
endif endif