Only add warning and std flags if supported by compiler (cmake) #144

Merged
plicease merged 1 commits from solaris into master 2017-09-24 17:52:49 +00:00
plicease commented 2017-09-23 19:35:39 +00:00 (Migrated from github.com)

This fixes errors like those reported in #143 on Solaris (and probably other platforms where gcc is not the native compiler):

c99: -W option with unknown program all

This is only a partial fix, trying to build with autoconf still fails. I think similar checks could be written configure.ac and Makefile.am, but my autoconf-foo / google-foo is not sufficient to figure it out at the moment.

This fixes errors like those reported in #143 on Solaris (and probably other platforms where gcc is not the native compiler): c99: -W option with unknown program all This is only a partial fix, trying to build with autoconf still fails. I think similar checks could be written `configure.ac` and `Makefile.am`, but my autoconf-foo / google-foo is not sufficient to figure it out at the moment.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#144
There is no content yet.