diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/trinity/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/trinity/files')
-rw-r--r-- | dev-util/trinity/files/trinity-1.7-cflags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/trinity/files/trinity-1.7-cflags.patch b/dev-util/trinity/files/trinity-1.7-cflags.patch new file mode 100644 index 000000000000..accdae374bfa --- /dev/null +++ b/dev-util/trinity/files/trinity-1.7-cflags.patch @@ -0,0 +1,14 @@ +diff --git a/Makefile b/Makefile +index c77d1f9..b970d08 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,8 @@ endif + CC := $(CROSS_COMPILE)$(CC) + LD := $(CROSS_COMPILE)$(LD) + +-CFLAGS += -Wall -Wextra -g -O2 -I. -Iinclude/ -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__ ++CFLAGS ?= -g -O2 -D_FORTIFY_SOURCE=2 ++CFLAGS += -Wall -Wextra -I. -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__ + + CFLAGS += $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi) + |