Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
crash
crash-Makefile-ADD_CFLAGS
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crash-Makefile-ADD_CFLAGS of Package crash
--- Makefile | 8 ++++---- extensions/Makefile | 2 +- extensions/libsial/Makefile | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/Makefile +++ b/Makefile @@ -225,7 +225,7 @@ GDB_FLAGS= # TARGET_CFLAGS will be configured automatically by configure TARGET_CFLAGS= -CRASH_CFLAGS=-g -D${TARGET} ${TARGET_CFLAGS} ${CFLAGS} +CRASH_CFLAGS=-g -D${TARGET} ${TARGET_CFLAGS} ${CFLAGS} $(ADD_CFLAGS) TAR_FILES=${SOURCE_FILES} Makefile COPYING README .rh_rpm_package crash.8 \ ${EXTENSION_SOURCE_FILES} @@ -251,7 +251,7 @@ gdb_merge: force @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj @if [ ! -f ${GDB}/config.status ]; then \ - (cd ${GDB}; ./configure --with-separate-debug-dir=/usr/lib/debug; \ + (cd ${GDB}; CFLAGS="$(ADD_CFLAGS)" ./configure --with-separate-debug-dir=/usr/lib/debug; \ make --no-print-directory;) \ else (cd ${GDB}/gdb; make --no-print-directory;); fi @if [ ! -f ${GDB}/gdb/libgdb.a ]; then \ @@ -584,7 +584,7 @@ dis: extensions: make_configure @./configure -q -b - @make --no-print-directory do_extensions + @make --no-print-directory do_extensions ADD_CFLAGS="$(ADD_CFLAGS)" do_extensions: - @(cd extensions; make -i TARGET=$(TARGET) TARGET_CFLAGS=$(TARGET_CFLAGS)) + @(cd extensions; make -i TARGET=$(TARGET) ADD_CFLAGS="$(ADD_CFLAGS)" TARGET_CFLAGS=$(TARGET_CFLAGS)) --- a/extensions/Makefile +++ b/extensions/Makefile @@ -37,7 +37,7 @@ $(CONTRIB_SO): %.so: %.c defs.h make -f $*.mk; \ else \ echo "gcc -nostartfiles -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS)"; \ - gcc -nostartfiles -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS); \ + gcc -nostartfiles -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) $(ADD_CFLAGS); \ fi clean: --- a/extensions/libsial/Makefile +++ b/extensions/libsial/Makefile @@ -15,7 +15,7 @@ LDIRT = lex.sial.c lex.sialpp.c sial. LIBDIR = /usr/lib TARGETS = libsial.a -CFLAGS += -O3 -g -fPIC +CFLAGS += -O3 -g -fPIC $(ADD_CFLAGS) ifeq ($(TARGET), PPC64) CFLAGS += -m64 endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor