forked from pool/tecla
- Add tecla-only-reentrant.diff: have the tecla tools built with tecla_r [boo#1047552]. - Add tecla-cppflags.diff OBS-URL: https://build.opensuse.org/request/show/508650 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tecla?expand=0&rev=5
20 lines
644 B
Diff
20 lines
644 B
Diff
CPPFLAGS is present everywhere except for the command line
|
|
where it's really needed. Stupid manual Makefiles.
|
|
---
|
|
Makefile.rules | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: libtecla/Makefile.rules
|
|
===================================================================
|
|
--- libtecla.orig/Makefile.rules
|
|
+++ libtecla/Makefile.rules
|
|
@@ -11,7 +11,7 @@ $(OBJDIR):
|
|
|
|
# Construct the compilation command.
|
|
|
|
-COMPILE = $(CC) -c $(CFLAGS) -o $@
|
|
+COMPILE = $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@
|
|
|
|
LIB_OBJECTS = $(OBJDIR)/getline.o $(OBJDIR)/keytab.o $(OBJDIR)/freelist.o \
|
|
$(OBJDIR)/strngmem.o $(OBJDIR)/hash.o $(OBJDIR)/history.o \
|