Skip to content
Snippets Groups Projects
Verified Commit ddb699d3 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

make: fix Fedora problems with symbols

parent dff269b8
Branches
Tags
2 merge requests!4591.5.3 fixes + nitpicks,!4581.5.3 fixes
Pipeline #32168 failed with stages
in 2 seconds
......@@ -36,6 +36,11 @@ BUILD_CFLAGS += -Wno-unused -Wtype-limits -Wformat -Wformat-security -Wall
BUILD_CFLAGS += -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib)
BUILD_CFLAGS += -DPACKAGE_VERSION="\"$(VERSION)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
BUILD_CFLAGS += -fvisibility=hidden
# Otherwise Fedora is making kresd symbols inaccessible for modules
BUILD_CFLAGS += -rdynamic
BUILD_LDFLAGS += -export-dynamic
ifeq (,$(findstring -O,$(CFLAGS)))
BUILD_CFLAGS += -O2
endif
......
  • Vladimír Čunát @vcunat

    mentioned in commit 501e400c88b50c297c750adb5065f083042fc6f1

    ·

    mentioned in commit 501e400c88b50c297c750adb5065f083042fc6f1

    Toggle commit list
  • Vladimír Čunát @vcunat

    mentioned in commit 3016281b

    ·

    mentioned in commit 3016281b

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment