author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-06-15 01:19:09 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-06-15 02:04:40 UTC |
parent | ea03693eb739077e1cfb4de83e13077e23d12ab1 |
doc/guide.rst | +1 | -1 |
libfiu/Makefile | +1 | -1 |
preload/Makefile | +1 | -1 |
diff --git a/doc/guide.rst b/doc/guide.rst index eb2b736..1fdff7b 100644 --- a/doc/guide.rst +++ b/doc/guide.rst @@ -104,7 +104,7 @@ it's a testing library. To that end, you should copy *fiu-local.h* into your source tree, and then create an option to do a *fault injection build* that #defines the constant -*ENABLE_FIU* (usually done by adding ``-DFIU_ENABLE=1`` to your compiler +*FIU_ENABLE* (usually done by adding ``-DFIU_ENABLE=1`` to your compiler flags) and links against libfiu (usually done by adding ``-lfiu`` to your linker flags). diff --git a/libfiu/Makefile b/libfiu/Makefile index 4b9af5c..425056c 100644 --- a/libfiu/Makefile +++ b/libfiu/Makefile @@ -1,6 +1,6 @@ CFLAGS += -std=c99 -pedantic -Wall -O3 -ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DENABLE_FIU=1 $(CFLAGS) +ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 $(CFLAGS) ifdef DEBUG ALL_CFLAGS += -g diff --git a/preload/Makefile b/preload/Makefile index ec22c67..678b664 100644 --- a/preload/Makefile +++ b/preload/Makefile @@ -1,6 +1,6 @@ CFLAGS += -std=c99 -Wall -O3 -ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DENABLE_FIU=1 -I. $(CFLAGS) +ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 -I. $(CFLAGS) ifdef DEBUG ALL_CFLAGS += -g