summaryrefslogtreecommitdiff
path: root/net-libs/rpc2/files/rpc2-2.37-respect-flags.patch
blob: d30ae5aadab93114ef5f240ea6f44fa8fa3b65c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/rp2gen/Makefile.am
+++ b/rp2gen/Makefile.am
@@ -3,13 +3,9 @@
 CCLD=$(NATIVECC)
 #EXEEXT=
 AM_YFLAGS= -d
-AM_CPPFLAGS= -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) -I.
+AM_CPPFLAGS= -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) -I. $(CFLAGS)
 
 # override any cross compilation target flags
-CFLAGS=-Wall
-LDFLAGS=
-LIBS=
-
 .c.o:
 	$(NATIVECC) $(AM_CPPFLAGS) -c $<