summaryrefslogtreecommitdiffstats
path: root/rules/ntp.make
diff options
context:
space:
mode:
authorErwin Rol <erwin@erwinrol.com>2006-04-10 10:21:10 +0000
committerErwin Rol <erwin@erwinrol.com>2006-04-10 10:21:10 +0000
commit4bcd6e6f8d691b8d485752381017cfd71360ec93 (patch)
treeb08791ff84bde2437dd69335e295863b5b259f28 /rules/ntp.make
parent83c091f40693d56451e514f4ba7a10ba6db7df94 (diff)
downloadptxdist-4bcd6e6f8d691b8d485752381017cfd71360ec93.tar.gz
ptxdist-4bcd6e6f8d691b8d485752381017cfd71360ec93.tar.xz
CFLAGS need to be cleared else ntpdc doesn't compile
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5384 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/ntp.make')
-rw-r--r--rules/ntp.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/ntp.make b/rules/ntp.make
index 4cc2f2e48..0caeab758 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -321,7 +321,8 @@ $(STATEDIR)/ntp.compile: $(ntp_compile_deps_default)
# trys to run it on the build machine - this is wrong...
perl -i -p -e "s/^CC =/CC ?=/g" $(NTP_DIR)/ntpdc/Makefile
perl -i -p -e "s/^LDFLAGS =/LDFLAGS ?=/g" $(NTP_DIR)/ntpdc/Makefile
- cd $(NTP_DIR)/ntpdc && CC=$(HOSTCC) LDFLAGS='' make ntpdc-layout
+ perl -i -p -e "s/^CFLAGS =/CFLAGS ?=/g" $(NTP_DIR)/ntpdc/Makefile
+ cd $(NTP_DIR)/ntpdc && CC=$(HOSTCC) CFLAGS='' LDFLAGS='' make ntpdc-layout
# now build the rest
cd $(NTP_DIR) && $(NTP_ENV) $(NTP_PATH) make