Paul Dufresne, le sam. 27 févr. 2021 09:58:50 -0500, a ecrit: > I am trying to rebuild glibc with -DMALLOC_DEBUG=1 > > $ DEB_CFLAGS_APPEND="-DMALLOC_DEBUG=1" dpkg-buildpackage -b -uc -us -nc > (-nc is because I am stopping the build sometimes to check the output)
Did you pass DEB_CFLAGS_APPEND in the first build? I don't know exactly how the flags get passed, but I guess they are recorded by the build system during configure only. Alternatively, grep CFLAGS debian/* shows rules:BUILD_CFLAGS = -O2 -g -fdebug-prefix-map=$(CURDIR)=. rules:HOST_CFLAGS = -pipe -O2 -g -fdebug-prefix-map=$(CURDIR)=. $(call xx,extra_cflags) I guess you could put it there. Samuel