mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
17 lines
350 B
Diff
17 lines
350 B
Diff
respect env CPPFLAGS
|
|
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -2,8 +2,9 @@ prefix=/usr
|
|
includedir=$(prefix)/include
|
|
libdir=$(prefix)/lib
|
|
|
|
-CFLAGS ?= -g -fomit-frame-pointer -O2
|
|
-CFLAGS += -Wall -I. -fPIC
|
|
+CFLAGS ?= -fomit-frame-pointer -O2
|
|
+CFLAGS += -I. -fPIC
|
|
+CFLAGS += $(CPPFLAGS)
|
|
SO_CFLAGS=-shared $(CFLAGS)
|
|
L_CFLAGS=$(CFLAGS)
|
|
LINK_FLAGS=
|