diff options
author | Dmitry Safonov <dima@arista.com> | 2019-05-18 01:53:07 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2019-09-07 15:59:50 +0300 |
commit | 60d79020428269fec714fcfb97dafcc9ec77600b (patch) | |
tree | 7860193667d0e9d0edef9ec8ca2f998c9a2052bd /Makefile | |
parent | 3dc4034d00b52a0cdab9d730f1190d81c9fc1130 (diff) |
make: Move CR_NOGLIBC into CFLAGS_PIE
Lesser duplication, cleaner Makefiles.
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,8 @@ ifeq ($(ARCH),s390) DEFINES := -DCONFIG_S390 CFLAGS_PIE := -fno-optimize-sibling-calls endif + +CFLAGS_PIE += -DCR_NOGLIBC export CFLAGS_PIE LDARCH ?= $(SRCARCH) |