summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/bitbake.conf3
-rw-r--r--conf/distro/include/angstrom-eglibc.inc3
-rw-r--r--conf/distro/include/angstrom-glibc.inc3
3 files changed, 8 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index a655fcb24c..e1dc3aa10a 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -403,7 +403,8 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
export LDFLAGS = "${TARGET_LDFLAGS}"
export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \
-Wl,-rpath-link,${STAGING_DIR_TARGET}${layout_libdir} \
- -Wl,-O1"
+ -Wl,-O1 \
+ ${TARGET_LINK_HASH_STYLE} "
# Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
ALLOWED_FLAGS = "-O -mcpu -march -pipe"
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index 66efa9f651..e68a23664b 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -29,5 +29,8 @@ BUILD_OPTIMIZATION = "-Os"
BUILD_OPTIMIZATION_pn-perl = "-O1"
BUILD_OPTIMIZATION_sparc = "-O2"
+TARGET_LINK_HASH_STYLE = "-Wl,--hash-style=gnu"
+DISTRO_PR = ".1"
+
CXXFLAGS += "-fvisibility-inlines-hidden"
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 6b9348db72..2ba21b20ad 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -33,5 +33,8 @@ BUILD_OPTIMIZATION_pn-perl = "-O1"
BUILD_OPTIMIZATION_pn-glibc = "-O2"
BUILD_OPTIMIZATION_sparc = "-O2"
+TARGET_LINK_HASH_STYLE = "-Wl,--hash-style=gnu"
+DISTRO_PR = ".1"
+
CXXFLAGS += "-fvisibility-inlines-hidden"