projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better support cross-compiling. Patch #19003.
[pspp-builds.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 0b37ce974ff650919c615d478e3a8033d71d3be5..d02ed4e19ad90897805063ed551b97b18b963de3 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-16,11
+16,13
@@
AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
-Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
endif
-Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
endif
+CC_FOR_BUILD = @CC_FOR_BUILD@
+EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
.q.c:
@$(top_srcdir)/mkinstalldirs `dirname $@`
.q.c:
@$(top_srcdir)/mkinstalldirs `dirname $@`
- ./src/language/lexer/q2c $< $@
+ ./src/language/lexer/q2c
$(EXEEXT_FOR_BUILD)
$< $@
-$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT)
+$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT
_FOR_BUILD
)
all_q_sources =
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
all_q_sources =
pkgsysconfdir = $(sysconfdir)/@PACKAGE@