projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff4cd0
)
configure.ac: Add missing -fvisibility=hidden to CFLAGS.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 28 Dec 2012 16:12:19 +0000
(17:12 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 28 Dec 2012 16:12:19 +0000
(17:12 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ceb9ed9e9c42201c9404ca9e63e9abc3236edf7b..56dce1047496148521bfd29216b880d6562d26b0 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-42,7
+42,9
@@
AH_TOP([#ifndef SRD_CONFIG_H
#define SRD_CONFIG_H /* To stop multiple inclusions. */])
AH_BOTTOM([#endif /* SRD_CONFIG_H */])
-CFLAGS="$CFLAGS -Wall -Wextra"
+# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden
+# and enforce use of SRD_API to explicitly mark all public API functions.
+CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden"
# Checks for programs.
AC_PROG_CXX