Skip to content

Commit

Permalink
Take precedence to CFLAGS from package system.
Browse files Browse the repository at this point in the history
  • Loading branch information
valtri committed Aug 26, 2013
1 parent 0ed84a1 commit c2c2067
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions org.glite.lbjp-common.db/Makefile
Expand Up @@ -31,14 +31,14 @@ SOURCES=doc/C.dox examples/*.c interface/*.h project/.post* src/*.c test/*.cpp M

DEBUG:=-g -O0 -W -Wall

CFLAGS:= ${CFLAGS} \
CFLAGS:= \
${DEBUG} \
-DVERSION=\"${version}\" \
-I${stagedir}${prefix}/include -I${top_srcdir}/src -I. \
-I${top_srcdir}/interface \
${COVERAGE_FLAGS} \
-D_GNU_SOURCE \
-DHAVE_SYSLOG_H=1
-DHAVE_SYSLOG_H=1 ${CFLAGS}

ifdef LBS_DB_PROFILE
CFLAGS:=${CFLAGS} -DLBS_DB_PROFILE
Expand Down
2 changes: 1 addition & 1 deletion org.glite.lbjp-common.jp-interface/Makefile
Expand Up @@ -28,7 +28,7 @@ VPATH=${top_srcdir}/src:${top_srcdir}/test:${top_srcdir}/project:${jpproject}
SOURCES=interface/*.h project/.post* src/*.c test/*.cpp Makefile

DEBUG:=-g -O0 -W -Wno-sign-compare
CFLAGS:=${CFLAGS} ${DEBUG} -D_GNU_SOURCE -I. -I${top_srcdir}/interface -I${stagedir}${prefix}/include
CFLAGS:=${DEBUG} -D_GNU_SOURCE -I. -I${top_srcdir}/interface -I${stagedir}${prefix}/include ${CFLAGS}

# In order to use libtool versioning correcty, we must have:
#
Expand Down
4 changes: 2 additions & 2 deletions org.glite.lbjp-common.maildir/Makefile
Expand Up @@ -30,13 +30,13 @@ SOURCES=interface/*.h project/.post* src/*.c Makefile

DEBUG:=-g -O0 -W -Wall

CFLAGS:= ${CFLAGS} \
CFLAGS:= \
${DEBUG} \
-DVERSION=\"${version}\" \
-I${stagedir}${prefix}/include -I${top_srcdir}/src -I. \
-I${top_srcdir}/interface \
${COVERAGE_FLAGS} \
-D_GNU_SOURCE
-D_GNU_SOURCE ${CFLAGS}

LDFLAGS:=${LDFLAGS} -L${stagedir}${prefix}/${libdir} ${COVERAGE_FLAGS}

Expand Down

0 comments on commit c2c2067

Please sign in to comment.