diff -up iometer-2006_07_27.common-src/src/Makefile-Linux.i386.orig iometer-2006_07_27.common-src/src/Makefile-Linux.i386 --- iometer-2006_07_27.common-src/src/Makefile-Linux.i386.orig 2006-08-02 10:30:22.000000000 +0100 +++ iometer-2006_07_27.common-src/src/Makefile-Linux.i386 2011-01-24 14:11:07.570347135 +0000 @@ -107,7 +107,8 @@ STRIP=/usr/bin/strip # Some common definitions used. # Note 1) -DWORKAROUND_MOD_BUG can be dropped if -O is used in place of -g in CFLAGS # Note 2) -D_DETAILS=1 -D_DEBUG enables maximum debug information -CFLAGS= -O3 \ +OPTFLAGS = -O3 +CFLAGS= $(OPTFLAGS) \ -Wall \ -D_GNU_SOURCE \ -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_LINUX \ diff -up iometer-2006_07_27.common-src/src/Makefile-Linux.x86_64.orig iometer-2006_07_27.common-src/src/Makefile-Linux.x86_64 --- iometer-2006_07_27.common-src/src/Makefile-Linux.x86_64.orig 2006-08-02 10:30:24.000000000 +0100 +++ iometer-2006_07_27.common-src/src/Makefile-Linux.x86_64 2011-01-24 14:09:22.670259330 +0000 @@ -71,7 +71,8 @@ CXX=/usr/bin/g++ # Note 3) -DIOMTR_SETTING_GCC_M64 allows for the gcc -m64 flag that makes longs # 64 bits and pointers 64 bits. This forces changes in data structures # and type definitions for compatibility with a Win32 Iometer. -CFLAGS= -O \ +OPTFLAGS = -O +CFLAGS= $(OPTFLAGS) \ -Wall \ -D_GNU_SOURCE \ -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_LINUX \