Skip to content
Commit 38f86f84 authored by Andre McCurdy's avatar Andre McCurdy Committed by Martin Jansa
Browse files

minini: fix build when SECURITY_CFLAGS includes -pie -fpie



Separating compile and link steps avoids build errors when
security_flags.inc is used:

  | DEBUG: Executing shell function do_compile
  | ../sysdeps/i386/start.S:98: error: undefined reference to 'main'
  | collect2: error: ld returned 1 exit status

Signed-off-by: default avatarAndre McCurdy <armccurdy@gmail.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent befc528b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment