summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2004-09-30 14:49:31 +0000
committerNathan Scott <nathans@sgi.com>2004-09-30 14:49:31 +0000
commit37b594a12758735cc3c88b92903a18cd203d87c7 (patch)
treed2a36297dbc89bcbd3e452e5632798195ae0d719 /include
parent33010f461de45c0494661457717a095431ef19cb (diff)
downloadacl-37b594a12758735cc3c88b92903a18cd203d87c7.tar.gz
Keep userspace packaging in sync, portability changes.
Merge of xfs-cmds-melb:slinx:19609a by kenmcd.
Diffstat (limited to 'include')
-rw-r--r--include/builddefs.in4
-rw-r--r--include/buildmacros2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/builddefs.in b/include/builddefs.in
index 2ad529a..b229760 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -89,9 +89,9 @@ ifneq "$(findstring $(PKG_PLATFORM), linux gnu gnu/kfreebsd gnu/knetbsd)" ""
PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
endif
-GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -I$(TOPDIR)/include \
+GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
-DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \
- -DPACKAGE=\"$(PKG_NAME)\"
+ -DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include
# Global, Platform, Local CFLAGS
CFLAGS += $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
diff --git a/include/buildmacros b/include/buildmacros
index bce094c..41a5e2e 100644
--- a/include/buildmacros
+++ b/include/buildmacros
@@ -72,7 +72,7 @@ LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
LTLINK = $(LIBTOOL) --mode=link $(CC)
LTEXEC = $(LIBTOOL) --mode=execute
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) -D_REENTRANT -fno-strict-aliasing
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF)
ifeq ($(ENABLE_SHARED),yes)
LTLDFLAGS += -rpath $(PKG_LIB_DIR)