You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/trinity/files/trinity-1.1-flags.patch

21 lines
630 B

--- 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)