From: Debian Multimedia Maintainers Date: Thu, 29 Jun 2023 13:48:11 +0200 Subject: don't add any bogus optimization flags Origin: Debian Forwarded: not-needed Last-Update: 2022-09-04 On Debian we must adhere to the baseline CPU which we do by not guessing any CPU-specific optimizations Last-Update: 2022-09-04 --- Makefile.pdlibbuilder | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.pdlibbuilder b/Makefile.pdlibbuilder index 38a1220..6ad2706 100644 --- a/Makefile.pdlibbuilder +++ b/Makefile.pdlibbuilder @@ -473,6 +473,9 @@ endif # arch.c.flags are overriden below. To see gcc's default architecture flags: # $ gcc -Q --help=target +# on Debian we trust the default build flags +ifeq (true, false) + # ARMv6: Raspberry Pi 1st gen, not detectable from target.arch ifeq ($(shell uname -m), armv6l) arch.c.flags = -march=armv6 -mfpu=vfp -mfloat-abi=hard @@ -498,6 +501,10 @@ else arch.c.flags = endif +else + arch.c.flags = +endif + #=== flags and paths for Linux =================================================