diff options
author | Lukas Larsson <[email protected]> | 2012-05-10 10:37:19 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-05-30 18:22:28 +0200 |
commit | be61b43bbadee9ed3d9a54bc40503f6cec0ebbda (patch) | |
tree | 8ea9f19a9771208ec02f80542f21f5aeca36d759 /erts/test/erl_print_SUITE_data/Makefile.src | |
parent | fd965b0fb1949395cd32ad8e4ca6d487bf0f69c8 (diff) | |
download | otp-be61b43bbadee9ed3d9a54bc40503f6cec0ebbda.tar.gz otp-be61b43bbadee9ed3d9a54bc40503f6cec0ebbda.tar.bz2 otp-be61b43bbadee9ed3d9a54bc40503f6cec0ebbda.zip |
Fix compilation issues on windows and Ubuntu 12.04
Diffstat (limited to 'erts/test/erl_print_SUITE_data/Makefile.src')
-rw-r--r-- | erts/test/erl_print_SUITE_data/Makefile.src | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/erts/test/erl_print_SUITE_data/Makefile.src b/erts/test/erl_print_SUITE_data/Makefile.src index ebcbb10c15..96d71c7a98 100644 --- a/erts/test/erl_print_SUITE_data/Makefile.src +++ b/erts/test/erl_print_SUITE_data/Makefile.src @@ -20,16 +20,20 @@ include @erts_lib_include_internal_generated@@[email protected] CC = @CC@ -CFLAGS = @ERTS_CFLAGS@ -LIBS = @ERTS_LIBS@ +CFLAGST = @ERTS_CFLAGS@ +LIBST = @ERTS_LIBS@ +CFLAGSF = @CFLAGS@ +LIBSF = @LIBS@ CP=cp CHMOD=chmod -EPTF_CFLAGS = -Wall $(CFLAGS) @DEFS@ -I@erts_lib_include_internal@ -I@erts_lib_include_internal_generated@ -EPTF_LIBS = $(LIBS) -L@erts_lib_internal_path@ -lerts_internal@type_marker@ +COMMON_CFLAGS = -Wall @DEFS@ -I@erts_lib_include_internal@ -I@erts_lib_include_internal_generated@ -EPTT_CFLAGS = -DTHREAD_SAFE $(ETHR_DEFS) $(EPTF_CFLAGS) -EPTT_LIBS = -L@erts_lib_internal_path@ -lerts_internal_r@type_marker@ $(ETHR_LIBS) $(LIBS) +EPTF_CFLAGS = $(CFLAGSF) $(COMMON_CFLAGS) +EPTF_LIBS = -L@erts_lib_internal_path@ -lerts_internal@type_marker@ $(LIBSF) + +EPTT_CFLAGS = -DTHREAD_SAFE $(ETHR_DEFS) $(CFLAGST) $(COMMON_CFLAGS) +EPTT_LIBS = -L@erts_lib_internal_path@ -lerts_internal_r@type_marker@ $(ETHR_LIBS) $(LIBST) GCC = .@DS@gccifier -CC"$(CC)" @@ -43,7 +47,7 @@ gccifier@exe@: $(CHMOD) a+x gccifier@exe@ @ELSE@ gccifier@exe@: ..@DS@utils@[email protected] - $(CC) $(CFLAGS) -o gccifier@exe@ ..@DS@utils@[email protected] $(LIBS) + $(CC) $(CFLAGST) -o gccifier@exe@ ..@DS@utils@[email protected] $(LIBST) @ENDIF@ erl_print_tests.false@exe@: gccifier@exe@ erl_print_tests.c |