Hi,
Why is -O1 hardcoded in the CFLAGS for xfsprogs?
Since there already is a variable $(OPTIMIZER), can't
we just remove it? In the FreeBSD port for xfsprogs,
I remove it, since most FreeBSD ports are compiled with a
default optimization flag (-O2).
ndex: builddefs.in
===================================================================
RCS file: /cvs/xfs-cmds/xfsprogs/include/builddefs.in,v
retrieving revision 1.43
diff -u -r1.43 builddefs.in
--- builddefs.in 11 Aug 2005 06:02:16 -0000 1.43
+++ builddefs.in 7 Oct 2005 18:56:09 -0000
@@ -117,7 +117,7 @@
PCFLAGS = -I/usr/local/include
endif
-GCFLAGS = -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall
\
+GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
-DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \
-DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include
--
Craig Rodrigues
rodrigc@xxxxxxxxxxxxxx
|