Page MenuHomeFreeBSD

games/stuntrally: fix build with GCC-based architectures
ClosedPublic

Authored by pkubaj on May 28 2019, 2:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 2:33 PM
Unknown Object (File)
Thu, Mar 19, 11:33 AM
Unknown Object (File)
Thu, Mar 19, 1:41 AM
Unknown Object (File)
Wed, Mar 18, 12:37 PM
Unknown Object (File)
Wed, Mar 18, 2:16 AM
Unknown Object (File)
Tue, Mar 17, 6:32 PM
Unknown Object (File)
Sat, Mar 14, 9:39 PM
Unknown Object (File)
Fri, Mar 13, 1:00 AM
Subscribers
None

Details

Summary

Add -Wno-narrowing to CXXFLAGS when using GCC to fix build error.

PR: 237777

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.May 29 2019, 4:19 AM
This revision was automatically updated to reflect the committed changes.

This can be written in a really simpler way like this:

CXXFLAGS+=  ${CXXFLAGS_${CHOOSEN_COPMILER_TYPE}}

CXXFLAGS_gcc= -Wno-narrowing

And no need to do the pre/post dance.