Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:obsgeek0:repos:ALP
foma
foma-harden-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File foma-harden-build.patch of Package foma
--- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: foma/Makefile =================================================================== --- a/foma.orig/Makefile +++ a/foma/Makefile @@ -23,13 +23,13 @@ LIBOBJS = int_stack.o define.o determini all: libfoma foma flookup cgflookup foma: $(FOMAOBJS) $(LIBOBJS) - $(CC) $(CFLAGS) $(FOMAOBJS) $(LIBOBJS) $(LDFLAGS) -o $@ + $(CC) $(CFLAGS) -pie -Wl,-z,now $(FOMAOBJS) $(LIBOBJS) $(LDFLAGS) -o $@ flookup: flookup.o libfoma - $(CC) $(CFLAGS) flookup.o $(FLOOKUPLDFLAGS) -o $@ + $(CC) $(CFLAGS) -pie -Wl,-z,now flookup.o $(FLOOKUPLDFLAGS) -o $@ cgflookup: cgflookup.o libfoma - $(CC) $(CFLAGS) cgflookup.o $(FLOOKUPLDFLAGS) -o $@ + $(CC) $(CFLAGS) -pie -Wl,-z,now cgflookup.o $(FLOOKUPLDFLAGS) -o $@ STATICLIB = libfoma.a @@ -72,7 +72,7 @@ libfoma: $(SHAREDLIBV) $(SHAREDLIBV): $(LIBOBJS) $(AR) $(ARFLAGS) $(STATICLIB) $(LIBOBJS) $(RANLIB) $(STATICLIB) - $(CC) $(CFLAGS) -shared -Wl,$(DFLAG),$(SHAREDLIBM) -o $(SHAREDLIBV) $(LIBOBJS) $(LDFLAGS) + $(CC) $(CFLAGS) -shared -Wl,-z,now,$(DFLAG),$(SHAREDLIBM) -o $(SHAREDLIBV) $(LIBOBJS) $(LDFLAGS) install: foma libfoma libfoma.pc -@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi
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