aboutsummaryrefslogtreecommitdiff
path: root/package/newt
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
commit60b5eee76edfa153ef118d2788c74ac8da1497a0 (patch)
tree4edb8e2572e8803fc92d419920c32142f6b4fa3a /package/newt
parent02a623ddf96aa97c341a287bbb4ec5370a069444 (diff)
downloadbuildroot-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.gz
buildroot-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.bz2
package: global largefile CFLAGS handling
Diffstat (limited to 'package/newt')
-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 b88a32dccb..7613028b69 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)