Christian Wiese
11 years ago
1 changed files with 41 additions and 0 deletions
@ -0,0 +1,41 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../e2fsprogs/util-fix-subst-compile.patch
|
||||
# Copyright (C) 2014 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
CPPFLAGS are not used and thus it cannot find the generated config.h in lib
|
||||
|
||||
util/Makefile snippet:
|
||||
-------------------------------------------------------------------
|
||||
CPPFLAGS = -I. -I$(top_builddir)/lib -I$(top_srcdir)/lib
|
||||
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
|
||||
-------------------------------------------------------------------
|
||||
|
||||
This is a workaround for avoiding this compile time error:
|
||||
-------------------------------------------------------------------
|
||||
CC ../../util/subst.c
|
||||
../../util/subst.c:8:20: error: config.h: No such file or directory
|
||||
-------------------------------------------------------------------
|
||||
|
||||
--- ./util/Makefile.in.orig 2014-07-06 21:32:04.537691351 +0200
|
||||
+++ ./util/Makefile.in 2014-07-06 21:33:07.791169071 +0200
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
.c.o:
|
||||
$(E) " CC $<"
|
||||
- $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $< -o $@
|
||||
+ $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $(ALL_CFLAGS) $< -o $@
|
||||
$(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
|
||||
|
||||
PROGS= subst symlinks
|
Loading…
Reference in new issue