Merge pull request #24 from oturpe/fedora-fixes

Fix to build cleanly on Fedora build system
This commit is contained in:
Joachim Wiberg authored and GitHub committed 2021-04-22 15:51:06 +02:00
commit bfd8454a92
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ the library works.
```sh ```sh
./configure ./configure
make -j5 make -j5
make test make check
sudo make install-strip sudo make install-strip
sudo ldconfig sudo ldconfig
``` ```
+1 -1
View File
@@ -4,7 +4,7 @@ AM_INIT_AUTOMAKE([1.11 foreign dist-xz])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR(src/uev.c) AC_CONFIG_SRCDIR(src/uev.c)
AM_CONFIG_HEADER(config.h) AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile src/libuev.pc src/Makefile examples/Makefile tests/Makefile]) AC_CONFIG_FILES([Makefile src/libuev.pc src/Makefile examples/Makefile tests/Makefile])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
-2
View File
@@ -12,7 +12,5 @@ TESTS += event
check_PROGRAMS = $(TESTS) check_PROGRAMS = $(TESTS)
# Ignore warnings about unused result, in e.g. write()
CFLAGS = -W -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
CPPFLAGS = -D_GNU_SOURCE CPPFLAGS = -D_GNU_SOURCE
LDADD = -L../src ../src/libuev.la LDADD = -L../src ../src/libuev.la