Date: Tue, 16 Oct 2018 21:26:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232331] [PATCH] dns/c-ares: build fail if macro defined in CFLAGS Message-ID: <bug-232331-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232331 Bug ID: 232331 Summary: [PATCH] dns/c-ares: build fail if macro defined in CFLAGS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: zi@FreeBSD.org Reporter: rozhuk.im@gmail.com Assignee: zi@FreeBSD.org Flags: maintainer-feedback?(zi@FreeBSD.org) Created attachment 198237 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198237&action= =3Dedit patch I have in /etc/make.conf CFLAGS+=3D-O2 -DSTRIP_FBSDID -pipe CFLAGS+=3D-D_FORTIFY_SOURCE=3D2 Build fail with: ... configure: using CFLAGS: -O2 -pipe -O2 -DSTRIP_FBSDID -pipe -D_FORTIFY_SOUR= CE=3D2 -mretpoline -fno-strict-aliasing=20 configure: CFLAGS error: CFLAGS may only be used to specify C compiler flag= s, not macro definitions. Use CPPFLAGS for: -DSTRIP_FBSDID configure: CFLAGS error: CFLAGS may only be used to specify C compiler flag= s, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=3D2 ... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232331-7788>