diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-12-10 18:00:27 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-12-10 18:00:27 +0000 |
commit | d65a3e7214f860c69fffebe061d9c9e09079133d (patch) | |
tree | 243281d67fa7c1e33ce6e2991c5f34517a14f15c /app-misc/realpath/files | |
parent | media-libs/freeverb3: Apply SSE1v2 patch by upstream (diff) | |
download | gentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.tar.gz gentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.tar.bz2 gentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.zip |
pick up LIBS from the environment, such that we can actually link on non-GNU libc platforms, bug #347291
(Portage version: 2.2.01.17304-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'app-misc/realpath/files')
-rw-r--r-- | app-misc/realpath/files/realpath-1.15-build.patch | 3 |
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 |