summaryrefslogtreecommitdiff
path: root/package/newt/newt.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
commit60b5eee76edfa153ef118d2788c74ac8da1497a0 (patch)
tree4edb8e2572e8803fc92d419920c32142f6b4fa3a /package/newt/newt.mk
parent02a623ddf96aa97c341a287bbb4ec5370a069444 (diff)
package: global largefile CFLAGS handling
Diffstat (limited to 'package/newt/newt.mk')
-rw-r--r--package/newt/newt.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/newt/newt.mk b/package/newt/newt.mk
index b88a32dcc..7613028b6 100644
--- a/package/newt/newt.mk
+++ b/package/newt/newt.mk
@@ -8,12 +8,7 @@ NEWT_CAT:=$(BZCAT)
NEWT_SITE=http://www.uclibc.org/
NEWT_DIR=$(BUILD_DIR)/newt-0.51.0
NEWT_VERSION=0.51.0
-ifeq ($(BR2_LARGEFILE),y)
-NEWT_CFLAGS=-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-else
-NEWT_CFLAGS=-Os -g
-endif
-NEWT_CFLAGS+=-fPIC
+NEWT_CFLAGS=-Os -g -fPIC
$(DL_DIR)/$(NEWT_SOURCE):
$(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)