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)
Jan 27 2025, 7:20 AM
Unknown Object (File)
Jan 10 2025, 3:37 PM
Unknown Object (File)
Nov 27 2024, 9:51 PM
Unknown Object (File)
Oct 8 2024, 9:37 AM
Unknown Object (File)
Oct 2 2024, 12:07 PM
Unknown Object (File)
Sep 19 2024, 9:19 AM
Unknown Object (File)
Sep 19 2024, 9:19 AM
Unknown Object (File)
Sep 19 2024, 9:19 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.