Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | nfs-utils: Do not pass CFLAGS to gcc while building |
| 2 | |
| 3 | Do not pass CFLAGS/LDFLAGS to gcc while building, The needed flags has |
| 4 | been passed by xxx_CFLAGS=$(CFLAGS_FOR_BUILD). |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> |
| 9 | --- |
| 10 | tools/locktest/Makefile.am | 2 ++ |
| 11 | tools/rpcgen/Makefile.am | 2 ++ |
| 12 | 2 files changed, 4 insertions(+) |
| 13 | |
| 14 | diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am |
| 15 | index 3156815..1729fd1 100644 |
| 16 | --- a/tools/locktest/Makefile.am |
| 17 | +++ b/tools/locktest/Makefile.am |
| 18 | @@ -1,6 +1,8 @@ |
| 19 | ## Process this file with automake to produce Makefile.in |
| 20 | |
| 21 | CC=$(CC_FOR_BUILD) |
| 22 | +CFLAGS= |
| 23 | +LDFLAGS= |
| 24 | LIBTOOL = @LIBTOOL@ --tag=CC |
| 25 | |
| 26 | noinst_PROGRAMS = testlk |
| 27 | diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am |
| 28 | index 8a9ec89..8bacdaa 100644 |
| 29 | --- a/tools/rpcgen/Makefile.am |
| 30 | +++ b/tools/rpcgen/Makefile.am |
| 31 | @@ -1,6 +1,8 @@ |
| 32 | ## Process this file with automake to produce Makefile.in |
| 33 | |
| 34 | CC=$(CC_FOR_BUILD) |
| 35 | +CFLAGS= |
| 36 | +LDFLAGS= |
| 37 | LIBTOOL = @LIBTOOL@ --tag=CC |
| 38 | |
| 39 | noinst_PROGRAMS = rpcgen |
| 40 | -- |
| 41 | 1.7.9.5 |
| 42 | |