mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
tests: use AM_CPPFILES to modify flags in unit tests
Using CPPFLAGS sometimes caused odd compile issues when building tests
with parallel make and AM_CPPFILES is the right flag, anyway.
Follow-up to cb7ed5a
Ref #10749
This commit is contained in:
parent
a285b22f8f
commit
4e4a082eff
@ -32,11 +32,11 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
||||
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
||||
# $(top_srcdir)/lib for libcurl's lib/curl_setup.h and other "borrowed" files
|
||||
|
||||
CPPFLAGS += -I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/lib \
|
||||
-I$(top_srcdir)/lib \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/tests/libtest
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/lib \
|
||||
-I$(top_srcdir)/lib \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/tests/libtest
|
||||
|
||||
EXTRA_DIST = Makefile.inc CMakeLists.txt README.md
|
||||
|
||||
@ -49,7 +49,7 @@ LDADD = $(top_builddir)/src/libcurltool.la \
|
||||
$(top_builddir)/lib/libcurlu.la \
|
||||
@LDFLAGS@ @LIBCURL_LIBS@ @NSS_LIBS@
|
||||
|
||||
CPPFLAGS += -DCURL_STATICLIB -DUNITTESTS
|
||||
AM_CPPFLAGS += -DCURL_STATICLIB -DUNITTESTS
|
||||
|
||||
CHECKSRC = $(CS_$(V))
|
||||
CS_0 = @echo " RUN " $@;
|
||||
|
Loading…
Reference in New Issue
Block a user