void-packages/srcpkgs/ponyc/patches/fix-pie.patch
2016-12-15 11:05:22 +00:00

11 lines
422 B
Diff

--- Makefile.orig 2016-11-11 22:56:59.000000000 +0000
+++ Makefile 2016-12-15 11:01:02.068138423 +0000
@@ -93,7 +93,7 @@
LIB_EXT ?= a
BUILD_FLAGS = -march=$(arch) -Werror -Wconversion \
-Wno-sign-conversion -Wextra -Wall
-LINKER_FLAGS = -march=$(arch)
+LINKER_FLAGS = -march=$(arch) $(LDFLAGS)
AR_FLAGS ?= rcs
ALL_CFLAGS = -std=gnu11 -fexceptions \
-DPONY_VERSION=\"$(tag)\" -DLLVM_VERSION=\"$(llvm_version)\" \