added -fno-pie in GNUmakefile
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 8 Aug 2020 19:56:58 +0000 (22:56 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 8 Aug 2020 19:56:58 +0000 (22:56 +0300)
GNUmakefile

index 8b0f6fb..0054bbc 100644 (file)
@@ -15,8 +15,8 @@ warn = -pedantic -Wall -Wno-unused-variable -Wno-unused-function
 #opt = -O3 -ffast-math
 dbg = -g
 
-CFLAGS = $(arch) $(warn) -MMD $(opt) -fno-strict-aliasing $(dbg) $(inc)
-LDFLAGS = $(arch) -Llibs/imago -Llibs/mikmod -limago -lmikmod \
+CFLAGS = $(arch) $(warn) -MMD $(opt) -fno-pie -fno-strict-aliasing $(dbg) $(inc)
+LDFLAGS = $(arch) -no-pie -Llibs/imago -Llibs/mikmod -limago -lmikmod \
                  $(sndlib_$(sys)) -lm
 
 cpu ?= $(shell uname -m | sed 's/i.86/i386/')