Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
e55f42c5
Commit
e55f42c5
authored
Jul 11, 2018
by
Marvin Scholz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Do not accept unknown flags with clang
parent
2a21bb8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
configure.ac
configure.ac
+3
-0
No files found.
configure.ac
View file @
e55f42c5
...
...
@@ -22,6 +22,9 @@ AS_IF([test "${ac_cv_prog_cc_c99}" = "no"], [
AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wno-unused-parameter])
dnl With clang, we want an error for unknown flags instead of just warn
AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument])
AC_SYS_LARGEFILE
AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment