build: Add missing -pie to test link command

This commit is contained in:
mintsuki 2021-04-08 05:23:32 +02:00
parent 621fc30a3b
commit 7e5b809a7e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ CFLAGS = -O2
LD = cc
QEMU = qemu-system-x86_64
QEMUFLAGS = -m 1G -enable-kvm -cpu host
LDINTERNALFLAGS := -Tlinker.ld -nostdlib -static-pie -fno-pic -fpie -z max-page-size=0x1000
LDINTERNALFLAGS := -Tlinker.ld -nostdlib -static-pie -pie -fno-pic -fpie -z max-page-size=0x1000
INTERNALCFLAGS := -I../stivale -I. -ffreestanding -fno-stack-protector \
-fno-pic -fpie -fomit-frame-pointer -mno-red-zone -mno-80387 -mno-mmx -mno-3dnow -mno-sse \
-mno-sse2 -masm=intel