summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-11 03:26:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-11 03:26:22 +0000
commit7adfc8c690bf92950b6ed01aca3e98ecdf7f18d7 (patch)
tree937045627c312a1dc4a943a84e38969421b1cd04 /sys-libs/com_err/files
parentVersion bump for bug 101960. (diff)
downloadgentoo-2-7adfc8c690bf92950b6ed01aca3e98ecdf7f18d7.tar.gz
gentoo-2-7adfc8c690bf92950b6ed01aca3e98ecdf7f18d7.tar.bz2
gentoo-2-7adfc8c690bf92950b6ed01aca3e98ecdf7f18d7.zip
Clean up cross-compile support.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-libs/com_err/files')
-rw-r--r--sys-libs/com_err/files/com_err-1.37-makefile.patch31
1 files changed, 29 insertions, 2 deletions
diff --git a/sys-libs/com_err/files/com_err-1.37-makefile.patch b/sys-libs/com_err/files/com_err-1.37-makefile.patch
index f6322fea403d..57dcee4a20b2 100644
--- a/sys-libs/com_err/files/com_err-1.37-makefile.patch
+++ b/sys-libs/com_err/files/com_err-1.37-makefile.patch
@@ -1,9 +1,36 @@
Fix the symlinks that submakefiles create so that they don't suck at life.
---- e2fsprogs-1.37/lib/Makefile.elf-lib
-+++ e2fsprogs-1.37/lib/Makefile.elf-lib
+Don't use target LDFLAGS/CFLAGS when compiling native apps.
+
+--- lib/Makefile.elf-lib
++++ lib/Makefile.elf-lib
@@ -49,3 +49,3 @@
@echo " SYMLINK $(libdir)/$(ELF_IMAGE).so"
- @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
+ @$(LN_S) -f $(ELF_SONAME) \
$(DESTDIR)$(libdir)/$(ELF_IMAGE).so
+--- util/Makefile.in
++++ util/Makefile.in
+@@ -15,7 +15,7 @@
+
+ .c.o:
+ @echo " CC $<"
+- @$(BUILD_CC) -c $(ALL_CFLAGS) $< -o $@
++ @$(BUILD_CC) -c $(DEFS) $< -o $@
+
+ PROGS= subst
+
+@@ -23,11 +23,11 @@
+
+ subst: subst.o
+ @echo " LD $@"
+- @$(BUILD_CC) $(ALL_LDFLAGS) -o subst subst.o
++ @$(BUILD_CC) -o subst subst.o
+
+ copy_sparse: copy_sparse.o
+ @echo " LD $@"
+- @$(BUILD_CC) $(ALL_LDFLAGS) -o copy_sparse copy_sparse.o
++ @$(BUILD_CC) -o copy_sparse copy_sparse.o
+
+ gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status
+ @echo " CONFIG.STATUS $@"