Skip to contentSkip to conversation

conga/luci/make defines.mk.in

Cluster-devel [email protected] 1 participant 1 message Sep 11, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-09-11 16:04:00

Modified files:
luci/make : defines.mk.in

Log message:
- compile with -O2 by default
- do not override user-set CC or CXX environment variables

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/make/defines.mk.in.diff?cvsroot=cluster&r1=1.2&r2=1.3

luci/make/defines.mk.in +8 -16
@@ -1,6 +1,6 @@
-
 # default params:
-program-prefix ?= 
+
+program-prefix ?=
 prefix         ?= ${DESTDIR}/usr
 exec-prefix    ?= ${DESTDIR}/usr
 bindir         ?= ${exec-prefix}/bin
@@ -17,27 +17,19 @@
 docdir         ?= ${datadir}/doc
 arch           ?= @@ARCH@@
 
-
-#--build=i686-redhat-linux-gnu
-#--host=i686-redhat-linux-gnu
-#--target=i386-redhat-linux-gnu
-
-
 INSTALL_DIR  = install -d
 INSTALL_FILE = install -m 644
 INSTALL_BIN  = install
 INSTALL_LIB  = install
 
-
-INCLUDE         += 
-CFLAGS          += -Wall -Wno-unused -fPIC -g ${INCLUDE}
-CXXFLAGS        += -Wall -Wno-unused -fPIC -g ${INCLUDE}
-LDFLAGS         += -fPIC 
+INCLUDE         +=
+CFLAGS          += -Wall -Wno-unused -fPIC -g -O2 ${INCLUDE}
+CXXFLAGS        += -Wall -Wno-unused -fPIC -g -O2 ${INCLUDE}
+LDFLAGS         += -fPIC
 
 PARANOID=0
 
-CC              = gcc
-CXX             = g++
+CC              ?= gcc
+CXX             ?= g++
 LD              = g++
 RANLIB          ?= ranlib
-