[Bug 212138] devel/cdecl: Needs to be compiled in ANSI C (C89) mode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 29 12:03:16 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212138
Dmitry Marakasov <amdmi3 at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Open |Closed
Resolution|--- |Not A Bug
Assignee|freebsd-ports-bugs at FreeBSD. |amdmi3 at FreeBSD.org
|org |
--- Comment #7 from Dmitry Marakasov <amdmi3 at FreeBSD.org> ---
> It is likely that the configuration is somehow incorrect.
Rather it is unsupported. It works correctly on ports level:
% make -V CFLAGS
-O3 -march=nocona -fstack-protector -fno-strict-aliasing -std=c89
however upstream Makefile sucks in /etc/make.conf again, and whole CFLAGS are
replaced with just -O3, and -std=c89 is lost. You could try something like:
.if ${.CURDIR:H:H} == "/usr/ports"
CFLAGS= -O3
.endif
instead.
> this seems not very good.
There's no problem in this code.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list