Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
libcap1
libcap-shlib-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcap-shlib-fix.diff of Package libcap1
--- progs/Makefile-dist 1999-04-18 00:16:31.000000000 +0200 +++ progs/Makefile 2006-12-19 18:30:24.000000000 +0100 @@ -36,15 +36,15 @@ all: $(PROGS) $(PROGS): %: %.o - $(CC) $(LDFLAGS) -o $@ $< $(LIBS) + $(CC) $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS) %.o: %.c $(INCS) - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(COPTFLAG) $(CFLAGS) -c $< -o $@ install: all mkdir -p -m 0755 $(SBINDIR) for p in $(PROGS) ; do \ - install -s -m 0755 $$p $(SBINDIR) ; \ + install -m 0755 $$p $(SBINDIR) ; \ done clean: --- libcap/Makefile-dist 2006-12-19 18:28:36.000000000 +0100 +++ libcap/Makefile 2006-12-19 18:30:53.000000000 +0100 @@ -56,15 +56,15 @@ # @sed -ne '/^#define[ \t]CAP[_A-Z]\+[ \t]\+[0-9]\+/{s/^#define CAP_\([^ \t]*\)[ \t]*\([^ \t]*\)/ \{ \2, \"\1\" \},/;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;p;}' < /usr/include/linux/capability.h | fgrep -v 0x > cap_names.sed $(MINLIBNAME): $(OBJS) - $(LD) -soname $(MAJLIBNAME) -x -shared -o $@ $(OBJS) + $(CC) $(COPTFLAG) -Wl,-soname,$(MAJLIBNAME) -shared -o $@ $(OBJS) ln -sf $(MINLIBNAME) $(MAJLIBNAME) ln -sf $(MAJLIBNAME) $(LIBNAME) %.o: %.c $(INCLS) - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(COPTFLAG) $(CFLAGS) -fpic -c $< -o $@ cap_sys2.o: cap_sys2.c $(INCLS) - $(CC) -Wall -O2 -c $< -o $@ + $(CC) $(COPTFLAG) $(CFLAGS) -fpic -c $< -o $@ install: all mkdir -p -m 0755 $(INCDIR)/sys
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