From 76ba1683926b4114ad4c8d6738a7d3d926ea72ae Mon Sep 17 00:00:00 2001 From: Johannes Schlatow Date: Tue, 13 Jul 2021 14:47:07 +0200 Subject: [PATCH] Prevent linking against get_pc_thunk in plugins Fixes #1 --- standalone/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone/SConscript b/standalone/SConscript index 16072fc..cbd1a2a 100644 --- a/standalone/SConscript +++ b/standalone/SConscript @@ -42,7 +42,7 @@ fenv = freestanding_env.Clone() fenv16 = Environment() fenv16['CCFLAGS'] = "-Os -minline-all-stringops -m16 -march=pentium -mtune=core2 -pipe -ffreestanding -nostdlib -Wno-multichar -Wall -Werror" -fenv16['CCFLAGS'] += " -ffunction-sections -fomit-frame-pointer -fno-stack-protector -mregparm=3 " +fenv16['CCFLAGS'] += " -ffunction-sections -fomit-frame-pointer -fno-stack-protector -mregparm=3 -fno-pic" fenv16['CPPPATH'] = ["../include", "include/"] stand = fenv.StaticLibrary('stand',