avoid warnings from ffi.h when UseLibFFIForAdjustors=YES
authorSimon Marlow <simonmar@microsoft.com>
Wed, 9 Apr 2008 20:40:48 +0000 (20:40 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 9 Apr 2008 20:40:48 +0000 (20:40 +0000)
rts/Makefile

index 516879a..19a7a22 100644 (file)
@@ -203,6 +203,7 @@ RtsUtils_CC_OPTS += -DGhcEnableTablesNextToCode=$(DQ)$(GhcEnableTablesNextToCode
 
 # ffi.h triggers prototype warnings, so disable them here:
 Interpreter_CC_OPTS += -Wno-strict-prototypes
+Adjustor_CC_OPTS += -Wno-strict-prototypes
 
 StgCRun_CC_OPTS += -w
 Typeable_CC_OPTS += -w