Skip to content
Snippets Groups Projects
Commit c4769857 authored by Kostyantyn Vorobyov's avatar Kostyantyn Vorobyov
Browse files

[e-acsl-gcc.sh] Fix application of __E_ACSL__ macro

parent 6fd025fa
No related branches found
No related tags found
No related merge requests found
...@@ -418,6 +418,10 @@ CPPMACHDEP="-D__FC_MACHDEP_X86_$MACHDEPFLAGS" ...@@ -418,6 +418,10 @@ CPPMACHDEP="-D__FC_MACHDEP_X86_$MACHDEPFLAGS"
# GCC machine option # GCC machine option
GCCMACHDEP="-m$MACHDEPFLAGS" GCCMACHDEP="-m$MACHDEPFLAGS"
# Macro that identifies E-ACSL compilation. Passed to Frama-C
# and GCC runs but not to the original compilation
EACSL_MACRO_ID="__E_ACSL__"
# Frama-C and related flags # Frama-C and related flags
FRAMAC_CPP_EXTRA=" FRAMAC_CPP_EXTRA="
$OPTION_FRAMAC_CPP_EXTRA $OPTION_FRAMAC_CPP_EXTRA
...@@ -464,10 +468,6 @@ for mod in $OPTION_EACSL_MMODELS; do ...@@ -464,10 +468,6 @@ for mod in $OPTION_EACSL_MMODELS; do
mmodel_sources $mod > /dev/null mmodel_sources $mod > /dev/null
done done
# Macro that identifies E-ACSL compilation. Passed to Frama-C
# and GCC runs but not to the original compilation
EACSL_MACRO_ID="__E_ACSL__"
# Gcc and related flags # Gcc and related flags
CC="$OPTION_CC" CC="$OPTION_CC"
CFLAGS="$OPTION_CFLAGS CFLAGS="$OPTION_CFLAGS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment