Skip to content

Commit

Permalink
Prevent linking against get_pc_thunk in plugins
Browse files Browse the repository at this point in the history
Fixes TUD-OS#1
  • Loading branch information
jschlatow authored and alex-ab committed Jul 15, 2021
1 parent 6b3c01e commit 76ba168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standalone/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 76ba168

Please sign in to comment.