[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH 1/8] Makefile.in: Fix out of tree build
From: |
Kieran Bingham |
Subject: |
[screen-devel] [PATCH 1/8] Makefile.in: Fix out of tree build |
Date: |
Sun, 4 Oct 2015 16:52:26 +0100 |
Commit: 144836c3bb020405bf029d0d5a85c84aa74662d9 "more header stuff"
removed inclusion options passed in Makefile, however this breaks out
of tree builds, as the generated config.h file is not discovered.
Re-introduce the include flags to repair building outside of '/src',
using the -iquote [1] parameter to ensure that system includes are not
affected
[1]
https://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/Preprocessor-Options.html#index-iquote-849
Signed-off-by: Kieran Bingham <address@hidden>
---
src/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.in b/src/Makefile.in
index a7e990d..c77ac0a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -30,7 +30,7 @@ SCREENENCODINGS = $(datadir)/screen/utf8encodings
CC = @CC@
CFLAGS = @CFLAGS@ -Wall -Wextra -std=c11
-CPPFLAGS = @CPPFLAGS@ -DETCSCREENRC='"$(ETCSCREENRC)"' \
+CPPFLAGS = @CPPFLAGS@ -iquote. -DETCSCREENRC='"$(ETCSCREENRC)"' \
-DSCREENENCODINGS='"$(SCREENENCODINGS)"'
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
--
2.1.4
- [screen-devel] [Trivial] Bugfixes and compiler warnings, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 1/8] Makefile.in: Fix out of tree build,
Kieran Bingham <=
- [screen-devel] [PATCH 2/8] Process: Fix sign-compare errors, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 3/8] Process: Fix const qualifer loss in ShowWindows, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 5/8] Process: Fix printf modifier warning, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 6/8] Display: Unsigned comparison causes unreachable code, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 4/8] Process: Pointer arithmetic comparison with unsigned size_t, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 7/8] Display: Convert strlen_onscreen to be unsigned like strlen, Kieran Bingham, 2015/10/08
- [screen-devel] [PATCH 8/8] WinMsgBuf: Fix const qualifier in wmbc_mergewmb, Kieran Bingham, 2015/10/08