https://bugs.openldap.org/show_bug.cgi?id=9528
--- Comment #3 from Howard Chu <[email protected]> --- (In reply to Quanah Gibson-Mount from comment #2) > (In reply to Howard Chu from comment #1) > > (In reply to Quanah Gibson-Mount from comment #0) > > > When building LMDB, specified hardening flags are thrown away due to the > > > Makefile overriding CFLAGS: > > > > > > Makefile:CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) > > > > Put them in XCFLAGS. > > Seems like things should be the opposite direction, Makefile does XCFLAGS= > $(THREADS) $(OPT) $(W) $(CFLAGS) then tweaked accordingly throughout (or > similar). No. CFLAGS contains everything else. Everything else is individually overridable. Manually overriding CFLAGS itself is wrong. -- You are receiving this mail because: You are on the CC list for the issue.
