On 22/08/2017 18:04, Laszlo Ersek wrote: >> That said, the extra "-Wl," in "-Wl,-pie" is not necessary; the compiler >> driver knows "-pie" and swallows it when compiling (and passes it to the >> linker). > Now *that* I can get behind. If this works, then please let us do it -- > replace "-fpie" with "-pie" in GCC44_X64_CC_FLAGS, and add no "-Wl," > stuff to any DLINK defines.
Note that you still need -fpie in the CC flags (and it _should_ not need "-pie" in CC flags, only in DLINK). Paolo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel