summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mktemp/files/mktemp-1.5-build.patch')
-rw-r--r--sys-apps/mktemp/files/mktemp-1.5-build.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/mktemp/files/mktemp-1.5-build.patch b/sys-apps/mktemp/files/mktemp-1.5-build.patch
new file mode 100644
index 000000000000..f1595ed0ce20
--- /dev/null
+++ b/sys-apps/mktemp/files/mktemp-1.5-build.patch
@@ -0,0 +1,11 @@
+--- mktemp-1.5/Makefile.in
++++ mktemp-1.5/Makefile.in
+@@ -98,7 +98,7 @@
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+ $(PROG): $(OBJS)
+- $(CC) -o $@ $(OBJS) $(LIBS)
++ $(CC) -o $@ $(OBJS) $(LIBS) $(CFLAGS) $(LDFLAGS)
+
+ $(OBJS): config.h
+