Skip to content

Commit 1f753d8

Browse files
committed
fixup! goto-gcc removes CPROVER macros for native gcc
1 parent 3e793f5 commit 1f753d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-cc/gcc_mode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ int gcc_modet::run_gcc(const compilet &compiler)
813813
for(const auto &a : cmdline.parsed_argv)
814814
new_argv.push_back(a.arg);
815815

816-
if(compiler.wrote_object_files())
816+
if(!act_as_ld && compiler.wrote_object_files())
817817
{
818818
// Undefine all __CPROVER macros for the system compiler
819819
std::map<irep_idt, std::size_t> arities;

0 commit comments

Comments
 (0)