aboutsummaryrefslogtreecommitdiff
path: root/libsysfs/Makefile.am
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2010-12-07 20:05:47 -0500
committerAlan Brault <alan.brault@incruentatus.net>2010-12-07 20:05:47 -0500
commitcdd0832671d59b90e4a6947c43096057c0be1d53 (patch)
treed43f49581aac981a7f32d0ea3050dddb771f6c11 /libsysfs/Makefile.am
parent42f22b3aa32461423413aaee8335d420cdd484dd (diff)
downloadNetNuke2-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 'libsysfs/Makefile.am')
-rw-r--r--libsysfs/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/libsysfs/Makefile.am b/libsysfs/Makefile.am
index 8d37bcc..a51f520 100644
--- a/libsysfs/Makefile.am
+++ b/libsysfs/Makefile.am
@@ -2,6 +2,5 @@ lib_LTLIBRARIES = libsysfs.la
libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \
sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
INCLUDES = -I../include
-libsysfs_la_LDFLAGS = -version-info 2:1:0
-EXTRA_CFLAGS = @EXTRA_CLFAGS@
-libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CLFAGS)
+libsysfs_la_LDFLAGS = -version-info 2:1:0 -all-static
+libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes -static