lwp: override dbg and optmz settings
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 20 Mar 2011 23:23:29 +0000 (19:23 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Mar 2011 02:30:36 +0000 (19:30 -0700)
we were wiping out fun things like archflags. shouldn't be needed.
let's just do this instead.

Change-Id: I80b3453bb237b4995d642b947d03c17d82cda5e7
Reviewed-on: http://gerrit.openafs.org/4266
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/lwp/Makefile.in

index 2c2aefe..1783f99 100644 (file)
@@ -16,10 +16,8 @@ INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
-# Override the global COMMON_CFLAGS, as we want to be able to override
-# debug and optimization settings for this module
-
-COMMON_CFLAGS = ${CFLAGS} ${LWP_DBG} ${LWP_OPTMZ} ${COMMON_INCL}
+DBG=${LWP_DBG}
+OPTMZ=${LWP_OPTMZ}
 
 LIBOBJS=lwp.o process.o lock.o iomgr.o timer.o fasttime.o preempt.o \
        waitkey.o threadname.o AFS_component_version_number.o