Fix the amd64 build

This commit is contained in:
Pierre Pronchery 2021-09-29 04:26:11 +02:00
parent 2625b4b51f
commit 17878ca36b

View File

@ -194,7 +194,7 @@ _platform_variable_amd64()
echo "-m32 -nostdlib"
;;
NATIVE_CFLAGS)
echo "-ffreestanding -fPIE$extra"
echo "-ffreestanding -fPIC$extra"
;;
UKERNEL_CFLAGS)
echo "-ffreestanding -fPIE -mno-red-zone$extra"