Update divinus.mk

The -rdynamic flag was missing and it is required to export the symbols enclosed in the executable and make them visible to the dynamically loaded manufacturer userspace libraries
pull/1470/head
William Bérubé 2024-06-13 07:39:01 -04:00 committed by GitHub
parent 6378e80e49
commit 99a351a9f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ DIVINUS_LICENSE = MIT
DIVINUS_LICENSE_FILES = LICENSE
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
DIVINUS_OPTIONS = "-s -Os -lm"
DIVINUS_OPTIONS = "-rdynamic -s -Os -lm"
else
DIVINUS_OPTIONS = "-s -Os"
DIVINUS_OPTIONS = "-rdynamic -s -Os"
endif
define DIVINUS_BUILD_CMDS