diff options
author | Frodo Looijaard <frodol@dds.nl> | 1999-01-14 00:41:44 +0000 |
---|---|---|
committer | Frodo Looijaard <frodol@dds.nl> | 1999-01-14 00:41:44 +0000 |
commit | 33269d525200e823080532b5f4e497592e5d444a (patch) | |
tree | 7e183acc6e7b2d3a8c80c8e468330bdbe8ee33f6 /Makefile | |
parent | fefbf318675cc9c439ac46212cdca143f1e2082f (diff) | |
download | lm-sensors-git-33269d525200e823080532b5f4e497592e5d444a.tar.gz |
Small fixes to make all programs compile cleanly with libc6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@168 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -133,6 +133,10 @@ CFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wnested-externs -Winline endif +ifeq ($(I2C),1) +CFLAGS += -DI2C +endif + MODCFLAGS := $(CFLAGS) -D__KERNEL__ -DMODULE -fomit-frame-pointer PROGCFLAGS := $(CFLAGS) ARCFLAGS := $(CFLAGS) @@ -146,10 +150,6 @@ ifeq ($(MODVER),1) MODCFLAGS += -DMODVERSIONS -include /usr/include/linux/modversions.h endif -ifeq ($(I2C),1) -MODCFLAGS += -DI2C -endif - .PHONY: all clean install version package dep # Make all the default rule |