Skip to content

Commit

Permalink
Updates to compile MAV against newer versions of gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
JaysonHurst committed Sep 16, 2014
1 parent f8a1497 commit b58a140
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.6.8.3 (2014-09-16)
- Fixed configure.ac to compile with newer version of gcc.
- removed #define TRACE_DEBUG so trace debug will not be written
out to /tmp by default.
- Fixed an issue with the check symbol code.

3.6.8.2 (2014-05-19)
- Added ability to enable QAS API debug Bug# 848

Expand Down
3 changes: 2 additions & 1 deletion check-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ while [ $# -gt 1 ]; do
# Find Initialized (D)ata, (T)ext, (B)SS (zeroed) and (R)ead-only dynamic
# symbols. _init and _fini are always ignored.
syms=`nm -D --defined-only -- "$MODULE" | cut -d' ' -f2- | grep -E '^(D|T|B|R)' | \
grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' || true`
grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' | \
grep -Ev '^B _(_bss_start|end)$' | grep -Ev '^D _edata' || true`
if [ "$syms" != "" ]; then
echo >&2
echo "Found unexpected symbols in $MODULE:" >&2
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ AC_PREREQ(2.55)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_MACRO_DIR([m4])

m4_pattern_allow([AM_PROG_AR])
AM_PROG_AR

AM_INIT_AUTOMAKE([foreign -Wall])

AC_CONFIG_SRCDIR([mod_auth_vas.c])
Expand Down

0 comments on commit b58a140

Please sign in to comment.