mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
Use more defines and makefile variables in $(native-compile).
This commit is contained in:
parent
35d76d5950
commit
2ed8cda226
@ -1,5 +1,9 @@
|
|||||||
2012-04-25 Joseph Myers <joseph@codesourcery.com>
|
2012-04-25 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* Makerules (native-compile): Use $(BUILD_LDFLAGS).
|
||||||
|
(ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
|
||||||
|
-DIS_IN_build.
|
||||||
|
|
||||||
* timezone/README: Update upstream location and email address for
|
* timezone/README: Update upstream location and email address for
|
||||||
tzcode and tzdata.
|
tzcode and tzdata.
|
||||||
* timezone/zdump.c: Update from tzcode 2012b.
|
* timezone/zdump.c: Update from tzcode 2012b.
|
||||||
|
@ -1118,11 +1118,12 @@ install: install-no-libc.a-nosubdir
|
|||||||
define native-compile
|
define native-compile
|
||||||
$(make-target-directory)
|
$(make-target-directory)
|
||||||
$(BUILD_CC) $($(basename $(<F))-CFLAGS) $(ALL_BUILD_CFLAGS) \
|
$(BUILD_CC) $($(basename $(<F))-CFLAGS) $(ALL_BUILD_CFLAGS) \
|
||||||
$< $(OUTPUT_OPTION)
|
$< $(OUTPUT_OPTION) $(BUILD_LDFLAGS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# We always want to use configuration definitions.
|
# We always want to use configuration definitions.
|
||||||
ALL_BUILD_CFLAGS = $(BUILD_CFLAGS) -include $(common-objpfx)config.h
|
ALL_BUILD_CFLAGS = $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -D_GNU_SOURCE \
|
||||||
|
-DIS_IN_build -include $(common-objpfx)config.h
|
||||||
|
|
||||||
# Support the GNU standard name for this target.
|
# Support the GNU standard name for this target.
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
|
Loading…
Reference in New Issue
Block a user