diff options
author | Alan Brault <alan.brault@incruentatus.net> | 2010-12-07 20:05:47 -0500 |
---|---|---|
committer | Alan Brault <alan.brault@incruentatus.net> | 2010-12-07 20:05:47 -0500 |
commit | cdd0832671d59b90e4a6947c43096057c0be1d53 (patch) | |
tree | d43f49581aac981a7f32d0ea3050dddb771f6c11 /src | |
parent | 42f22b3aa32461423413aaee8335d420cdd484dd (diff) | |
download | NetNuke2-cdd0832671d59b90e4a6947c43096057c0be1d53.tar.gz |
- Alter CFLAGS to produce a more sane binary with less problems
- Fix libtool and linker LDFLAGS to ensure a static build
- Add missing README required by GPL for libsysfs
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.in | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index f7788aa..59341eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = foreign -AM_CFLAGS=-Wall -O2 -I../include -static -AM_LDFLAGS=-lpthread -lrt -lsysfs +AM_CFLAGS=-Wall -W -Wstrict-prototypes -I../include -static +AM_LDFLAGS=-L../libsysfs -lpthread -lsysfs -version-info 2:0:2 -all-static sbin_PROGRAMS= netnuke diff --git a/src/Makefile.in b/src/Makefile.in index b428323..124f871 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -38,7 +38,7 @@ sbin_PROGRAMS = netnuke$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -181,8 +181,8 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign -AM_CFLAGS = -Wall -O2 -I../include -static -AM_LDFLAGS = -lpthread -lrt -lsysfs +AM_CFLAGS = -Wall -W -Wstrict-prototypes -I../include -static +AM_LDFLAGS = -L../libsysfs -lpthread -lsysfs -version-info 2:0:2 -all-static netnuke_SOURCES = bus.c \ misc.c \ netnuke.c \ |