diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2017-05-28 23:55:46 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2017-05-29 08:41:50 +0200 |
commit | 542a34783ce1cfc63929ec50ab1f9f738711b815 (patch) | |
tree | 5b2e9f93f498bca7a8a16408597967ed7fa63127 /sysdeps/m68k/Makefile | |
parent | acf6d579e0ebb1644417b6a7894ebe6794ec7667 (diff) | |
download | glibc-542a34783ce1cfc63929ec50ab1f9f738711b815.tar.gz glibc-542a34783ce1cfc63929ec50ab1f9f738711b815.tar.xz glibc-542a34783ce1cfc63929ec50ab1f9f738711b815.zip |
m68k: handle default PIE
Diffstat (limited to 'sysdeps/m68k/Makefile')
-rw-r--r-- | sysdeps/m68k/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile index 5a887bba70..26539fa01d 100644 --- a/sysdeps/m68k/Makefile +++ b/sysdeps/m68k/Makefile @@ -29,6 +29,10 @@ pic-ccflag = -fpic ifeq ($(subdir),csu) # Make sure gcrt1.o uses the large PIC model CFLAGS-gmon-start.c := -fPIC +ifeq ($(build-pie-default),yes) +# Override default PIE +ASFLAGS-.o += -fno-pie +endif endif ifeq ($(subdir),setjmp) |