diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/coldfire/files/coldfire-0.3.1-build.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/coldfire/files/coldfire-0.3.1-build.patch')
-rw-r--r-- | app-emulation/coldfire/files/coldfire-0.3.1-build.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-emulation/coldfire/files/coldfire-0.3.1-build.patch b/app-emulation/coldfire/files/coldfire-0.3.1-build.patch new file mode 100644 index 000000000000..2b54dd4a16f5 --- /dev/null +++ b/app-emulation/coldfire/files/coldfire-0.3.1-build.patch @@ -0,0 +1,32 @@ +respect env build settings + +--- a/Makefile.rules.in ++++ b/Makefile.rules.in +@@ -1,9 +1,9 @@ + CC = @CC@ +-CFLAGS = -Wall -fomit-frame-pointer @CFLAGS@ -I$(TOPSRCDIR) ++CFLAGS = -Wall @CPPFLAGS@ @CFLAGS@ -I$(TOPSRCDIR) + LIBS = @LIBS@ + LD_R = ld -r + RM = rm -f +-LDFLAGS = ++LDFLAGS = @LDFLAGS@ + + + prefix = @prefix@ + +fix parallel build problems ... objs need generated tracer, and coldfire +needs subdir objs + +--- a/Makefile.in ++++ b/Makefile.in +@@ -22,7 +22,8 @@ + #Force version to be made before subdirectories + subdirs-all: version.h + +-coldfire: $(OBJS) force ++$(OBJS): | subdirs-all ++coldfire: $(OBJS) force | subdirs-all + $(CC) $(LDFLAGS) $(OBJS) $(SUBDIR_OBJS) -o $@ $(LIBS) + + |