summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch')
-rw-r--r--sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch b/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch
deleted file mode 100644
index 9251cebce531..000000000000
--- a/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -13,9 +13,10 @@
-
- INSTALL = install
-
--LDFLAGS = --no-undefined-version -Wl,--version-script=version.lds
--CFLAGS = -O2 -Wall -fPIC -g
--CPPFLAGS = -D__LIBHUGETLBFS__
-+LDFLAGS += --no-undefined-version -Wl,--version-script=version.lds
-+CFLAGS ?= -O2 -g
-+CFLAGS += -Wall -fPIC
-+CPPFLAGS += -D__LIBHUGETLBFS__
-
- ARCH = $(shell uname -m | sed -e s/i.86/i386/)
-
-@@ -145,11 +146,11 @@
-
- obj32/libhugetlbfs.so: $(LIBOBJS:%=obj32/%)
- @$(VECHO) LD32 "(shared)" $@
-- $(CC32) $(LDFLAGS) -shared -o $@ $^ $(LDLIBS)
-+ $(CC32) $(LDFLAGS) -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
-
- obj64/libhugetlbfs.so: $(LIBOBJS:%=obj64/%)
- @$(VECHO) LD64 "(shared)" $@
-- $(CC64) $(LDFLAGS) -shared -o $@ $^ $(LDLIBS)
-+ $(CC64) $(LDFLAGS) -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
-
- obj32/%.i: %.c
- @$(VECHO) CPP $@
-@@ -206,7 +206,7 @@
- @$(VECHO) OBJSCRIPT $*
- sed "s!### SET DEFAULT LDSCRIPT PATH HERE ###!HUGETLB_LDSCRIPT_PATH=$(LDSCRIPTDIR)!" < $< > $@
-
--install: all $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%)
-+install: libs $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%)
- @$(VECHO) INSTALL
- $(INSTALL) -d $(DESTDIR)$(LDSCRIPTDIR)
- $(INSTALL) -m 644 $(INSTALL_LDSCRIPTS:%=ldscripts/%) $(DESTDIR)$(LDSCRIPTDIR)