mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix tests for GCC.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Fix tests for GCC.
|
||||
|
||||
2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add check for weak function attribute.
|
||||
|
||||
@@ -39,7 +39,7 @@ AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
|
||||
# serdbg exploits weak symbols
|
||||
AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))],
|
||||
[rtems_cv_cc_attribute_weak],[
|
||||
AS_IF([test $GCC = yes],[
|
||||
AS_IF([test x"$GCC" = xyes],[
|
||||
save_CFLAGS=$CFLAGS
|
||||
CFLAGS=-Werror])
|
||||
|
||||
@@ -51,7 +51,7 @@ AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))],
|
||||
[rtems_cv_cc_attribute_weak=yes],
|
||||
[rtems_cv_cc_attribute_weak=no])
|
||||
|
||||
AS_IF([test $GCC = yes],[
|
||||
AS_IF([test x"$GCC" = xyes],[
|
||||
CFLAGS=$save_CFLAGS])
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user