I am working on PyInstaller, which is mostly written in Python, but compiles a 
bootloader written in c.  blhc failes because the longs do not contain verbose 
compile flags.

111:NONVERBOSE BUILD: [ 1/21] Compiling src/pyi_utils.c
112:NONVERBOSE BUILD: [ 2/21] Compiling src/pyi_main.c
113:NONVERBOSE BUILD: [ 3/21] Compiling src/pyi_exception_dialog.c
114:NONVERBOSE BUILD: [ 4/21] Compiling src/pyi_apple_events.c
115:NONVERBOSE BUILD: [ 5/21] Compiling src/pyi_splashlib.c
116:NONVERBOSE BUILD: [ 6/21] Compiling src/pyi_global_posix.c
117:NONVERBOSE BUILD: [ 7/21] Compiling src/pyi_multipkg.c

https://salsa.debian.org/python-team/packages/pyinstaller/-/jobs/6701977

The standard tricks for most C/C++ packages don’t work.

# Enable all build hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Export the DPKG default build flags.
DPKG_EXPORT_BUILDFLAGS = 1

# Include the default build flags.  
<https://wiki.debian.org/Hardening#dpkg-buildflags>
include /usr/share/dpkg/buildflags.mk

# Append the CPPFLAGS to the standard CFLAGS and CXXFLAGS variables, which is 
how CMake likes it.  <https://wiki.debian.org/
Hardening#Notes_for_packages_using_CMake>
CFLAGS += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)

https://salsa.debian.org/python-team/packages/pyinstaller/-/blob/debian/
master/debian/rules?ref_type=heads

Does anyone know how to convince it to populate the logs with the full flags 
used to compile the binaries?

-- 
Soren Stoutner
so...@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to