X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=4d1a1dfe659beffbbaf9f24a39dac775ca4348c6;hp=d0b4a9acfbcd984349a1945b01566997d5f308a6;hb=447c9339d4f21fe5bba1aa77eccc9f94745e6447;hpb=03c5782e67a47b79fdd4013c8e0c68cdcb5a8228 diff --git a/configure.ac b/configure.ac index d0b4a9a..4d1a1df 100644 --- a/configure.ac +++ b/configure.ac @@ -151,6 +151,7 @@ AS_CASE([$host_cpu], [tile*], [ARCHTYPE="tile"], [hppa*], [ARCHTYPE="hppa"], [m68k], [ARCHTYPE="m68k"], + [riscv*], [ARCHTYPE="riscv"], [ARCHTYPE="unknown"] ) @@ -372,7 +373,7 @@ AC_CHECK_FUNCS([sched_setaffinity],[ AM_CPPFLAGS="-include config.h" AC_SUBST(AM_CPPFLAGS) -AM_CFLAGS="-Wall $AM_CFLAGS" +AM_CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-sign-compare $AM_CFLAGS" AC_SUBST(AM_CFLAGS) AC_CONFIG_LINKS([ @@ -507,6 +508,8 @@ PPRINT_PROP_BOOL([Require membarrier], $value) test "x$enable_rcu_debug" = "xyes" && value=1 || value=0 PPRINT_PROP_BOOL([Internal debugging], $value) +PPRINT_PROP_BOOL([Multi-flavor support], 1) + report_bindir="`eval eval echo $bindir`" report_libdir="`eval eval echo $libdir`"