diff options
author | Richard Levitte <levitte@openssl.org> | 2016-01-30 02:17:05 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-10 14:34:06 +0100 |
commit | bcb1977b7f4186b5551d83839286bc02991c2ad3 (patch) | |
tree | 6d7b30a170bb62189fd7415488b5e8cb0d6e8a61 /Configurations/99-personal-levitte.conf | |
parent | dd27f16e9a1d267da722a5aa37dba3e6a198afdb (diff) |
Configure et al: treat C defines separately
With some compilers, C macros are defined differently on the command
line than on Unix. It could be that the flad to define them isn't -D,
it could also be that they need to be grouped together and not be mixed
in with the other compiler flags (that's how it's done on VMS, for
example).
On Unix family platform configurations, we can continue to have macro
definitions mixed in with the rest of the flags, so the changes in
Configurations/*.conf are kept to an absolute minimum.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/99-personal-levitte.conf')
-rw-r--r-- | Configurations/99-personal-levitte.conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Configurations/99-personal-levitte.conf b/Configurations/99-personal-levitte.conf index d28cc6e934..fbfd3da37e 100644 --- a/Configurations/99-personal-levitte.conf +++ b/Configurations/99-personal-levitte.conf @@ -8,13 +8,15 @@ %targets = ( "levitte-linux-elf" => { inherit_from => [ "linux-elf" ], - debug_cflags => add("-DLEVITTE_DEBUG -ggdb -g3"), + debug_cflags => add("-ggdb -g3"), + debug_defines => add(undef, "LEVITTE_DEBUG"), build_scheme => [ "unified", "unix" ], build_file => "Makefile", }, "levitte-linux-x86_64" => { inherit_from => [ "linux-x86_64" ], - debug_cflags => add("-DLEVITTE_DEBUG -ggdb -g3"), + debug_cflags => add("-ggdb -g3"), + debug_defines => add(undef, "LEVITTE_DEBUG"), build_scheme => [ "unified", "unix" ], build_file => "Makefile", }, |