Page MenuHomeFreeBSD

cad/lepton-eda: respect CFLAGS
ClosedPublic

Authored by pkubaj on Aug 2 2019, 10:11 PM.
Tags
None
Referenced Files
F147412679: D21142.id60467.diff
Tue, Mar 10, 7:00 PM
F147408280: D21142.id.diff
Tue, Mar 10, 6:08 PM
Unknown Object (File)
Mon, Mar 9, 2:46 PM
Unknown Object (File)
Dec 17 2025, 7:21 AM
Unknown Object (File)
Nov 28 2025, 7:30 AM
Unknown Object (File)
Nov 23 2025, 7:12 PM
Unknown Object (File)
Nov 20 2025, 11:28 PM
Unknown Object (File)
Nov 20 2025, 9:27 PM
Subscribers
None

Details

Summary

Building with base GCC fails with:
cc1: error: -Wuninitialized is not supported without -O

But this port should use the default -O2. Fix this with attached patch.

PR: 239311

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tcberner added inline comments.
cad/lepton-eda/files/patch-cli_Makefile.am
8 โ†—(On Diff #60402)

^ CLAGS oO

This revision is now accepted and ready to land.Aug 4 2019, 5:53 PM
pkubaj added inline comments.
cad/lepton-eda/files/patch-cli_Makefile.am
8 โ†—(On Diff #60402)

Both CAIRO_PDF_CLAGS and CAIRO_PDF_CFLAGS don't seem to be used anywhere in the source code, so I will just leave it as is.

This revision was automatically updated to reflect the committed changes.