Browse Source

Allow to ignore lv2lint and lto

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 2 years ago
parent
commit
d79ac48219
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 12 additions and 3 deletions
  1. +6
    -0
      sources/libs/kxstudio-build-scripts/debian/changelog
  2. +3
    -2
      sources/libs/kxstudio-build-scripts/kxstudio-audio-plugin.sh
  3. +3
    -1
      sources/libs/kxstudio-build-scripts/kxstudio.mk

+ 6
- 0
sources/libs/kxstudio-build-scripts/debian/changelog View File

@@ -1,3 +1,9 @@
kxstudio-build-scripts (9) focal; urgency=medium

* Allow to ignore lv2lint and lto

-- falkTX <falktx@falktx.com> Sat, 28 May 2022 20:21:32 +0100

kxstudio-build-scripts (8) focal; urgency=medium

* Ignore lv2_generate_ttl symbol


+ 3
- 2
sources/libs/kxstudio-build-scripts/kxstudio-audio-plugin.sh View File

@@ -47,8 +47,9 @@ cp -r /usr/lib/lv2/{atom,buf-size,core,data-access,instance-access,midi,paramete
if [ -d debian/${PKG_NAME}/usr/lib/lv2 ]; then
pushd debian/${PKG_NAME}/usr/lib/lv2
lv2_validate */*.ttl
lv2lint -s lv2_generate_ttl $(lv2ls)
# -l ld-linux-x86-64.so.2 -M nopack $(lv2ls)
if [ -z "${LV2LINT_SKIP}" ]; then
lv2lint ${LV2LINT_EXTRA_FLAGS} -s lv2_generate_ttl $(lv2ls)
fi
for p in $(ls); do
${VALRIND_DISCOVERY_BIN} lv2 ./${p}
done


+ 3
- 1
sources/libs/kxstudio-build-scripts/kxstudio.mk View File

@@ -7,7 +7,6 @@ FLAGS += -fPIC -DPIC
FLAGS += -fdata-sections -ffunction-sections
FLAGS += -fno-common
FLAGS += -fno-gnu-unique
FLAGS += -fno-strict-aliasing -flto -ffat-lto-objects
FLAGS += -fvisibility=hidden
FLAGS += -DNDEBUG

@@ -22,6 +21,9 @@ endif
ifeq ($(KXSTUDIO_NO_FASTMATH),)
FLAGS += -ffast-math
endif
ifeq ($(KXSTUDIO_NO_LTO),)
FLAGS += -fno-strict-aliasing -flto -ffat-lto-objects
endif

export CFLAGS = $(FLAGS)
export CXXFLAGS = $(FLAGS) -fvisibility-inlines-hidden


Loading…
Cancel
Save