diff options
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/tclibc-baremetal.inc | 6 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-newlib.inc | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc index 1bf44c8591..b00917913f 100644 --- a/meta/conf/distro/include/tclibc-baremetal.inc +++ b/meta/conf/distro/include/tclibc-baremetal.inc | |||
@@ -28,3 +28,9 @@ TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" | |||
28 | TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" | 28 | TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" |
29 | TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" | 29 | TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" |
30 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "virtual/${MLPREFIX}libc zlib ncurses" | 30 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "virtual/${MLPREFIX}libc zlib ncurses" |
31 | |||
32 | # disable stack protector by default (no-libc, no protector implementation) | ||
33 | SECURITY_STACK_PROTECTOR_libc-baremetal = "" | ||
34 | # disable pie security flags by default | ||
35 | SECURITY_CFLAGS_libc-baremetal = "${SECURITY_NOPIE_CFLAGS}" | ||
36 | SECURITY_LDFLAGS_libc-baremetal = "" | ||
diff --git a/meta/conf/distro/include/tclibc-newlib.inc b/meta/conf/distro/include/tclibc-newlib.inc index dc631d8ada..896c0b16d7 100644 --- a/meta/conf/distro/include/tclibc-newlib.inc +++ b/meta/conf/distro/include/tclibc-newlib.inc | |||
@@ -42,3 +42,7 @@ TARGET_OS_arm = "eabi" | |||
42 | TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" | 42 | TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" |
43 | TOOLCHAIN_TARGET_TASK ?= "${LIBC_DEPENDENCIES}" | 43 | TOOLCHAIN_TARGET_TASK ?= "${LIBC_DEPENDENCIES}" |
44 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "zlib ncurses" | 44 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "zlib ncurses" |
45 | |||
46 | # disable pie security flags by default | ||
47 | SECURITY_CFLAGS_libc-newlib = "${SECURITY_NOPIE_CFLAGS}" | ||
48 | SECURITY_LDFLAGS_libc-newlib = "" | ||