summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/realpath/files')
-rw-r--r--app-misc/realpath/files/realpath-1.15-build.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-misc/realpath/files/realpath-1.15-build.patch b/app-misc/realpath/files/realpath-1.15-build.patch
index 7f7d586f5736..7b90a0c0c27b 100644
--- a/app-misc/realpath/files/realpath-1.15-build.patch
+++ b/app-misc/realpath/files/realpath-1.15-build.patch
@@ -9,10 +9,11 @@ index 18f539c..142f7e6 100644
-CC := gcc
-CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
-LDFLAGS :=
+-LIBS :=
+CC ?= gcc
+CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
+LDFLAGS +=
- LIBS :=
++LIBS +=
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0