diff options
Diffstat (limited to 'dev-util/trinity/files/trinity-1.1-flags.patch')
-rw-r--r-- | dev-util/trinity/files/trinity-1.1-flags.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/trinity/files/trinity-1.1-flags.patch b/dev-util/trinity/files/trinity-1.1-flags.patch new file mode 100644 index 000000000000..fd794c62dc67 --- /dev/null +++ b/dev-util/trinity/files/trinity-1.1-flags.patch @@ -0,0 +1,20 @@ +--- trinity-1.1/Makefile ++++ trinity-1.1/Makefile +@@ -3,7 +3,7 @@ + INSTALL_PREFIX ?= $(DESTDIR) + INSTALL_PREFIX ?= $(HOME) + +-CFLAGS = -Wall -W -g -O2 -I. -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE ++CFLAGS += -Wall -W -I. -Wimplicit -D_GNU_SOURCE + #CFLAGS += $(shell if $(CC) -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-m32"; fi) + CFLAGS += -Wdeclaration-after-statement + CFLAGS += -Wformat=2 +@@ -49,7 +49,7 @@ + -include $(SRCS:%.c=$(DEPDIR)/%.d) + + trinity: test $(OBJS) $(HEADERS) +- $(CC) $(CFLAGS) -o trinity $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o trinity $(OBJS) + @mkdir -p tmp + + df = $(DEPDIR)/$(*F) |