Explorar o código

Add -no-pie linker flag because gcc these days seems to need it

Taddeus Kroes %!s(int64=3) %!d(string=hai) anos
pai
achega
972794e2d3
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile
  2. BIN=BIN
      rot13

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
 LD := gcc
 CC := clang
 CFLAGS := -O3
-LDFLAGS := -nostartfiles
+LDFLAGS := -nostartfiles -no-pie
 BFFLAGS := -o
 BFILES := $(patsubst %.b,%,$(wildcard *.b))
 

BIN=BIN
rot13