@@ -2,4 +2,4 @@ include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= powerpc
CPU_ARCH:= ppc
TARGET_OPTIMIZATION:= -Os -pipe
-TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS)
+TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS) -Wl,--secure-plt
@@ -62,7 +62,7 @@ GCC_CONFOPTS+= --enable-tls
endif
ifeq ($(ARCH),powerpc)
-GCC_CONFOPTS+= --disable-target-optspace
+GCC_CONFOPTS+= --disable-target-optspace --with-long-double-64 --enable-secureplt
else
GCC_CONFOPTS+= --enable-target-optspace