diff options
author | Kostis Sagonas <[email protected]> | 2010-02-14 07:25:03 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-14 12:23:03 +0100 |
commit | 649d313771dc4e53ddfa3ba61504743f38dc8cff (patch) | |
tree | e8e44a8477fb45fa02843755cc4bcca0c3e6495d | |
parent | b366554ee70509836d7550107163e14aed66c83f (diff) | |
download | otp-649d313771dc4e53ddfa3ba61504743f38dc8cff.tar.gz otp-649d313771dc4e53ddfa3ba61504743f38dc8cff.tar.bz2 otp-649d313771dc4e53ddfa3ba61504743f38dc8cff.zip |
syntax_tools: Support the --enable-native-libs configure option
While at it, turn on some more warnings.
-rw-r--r-- | lib/syntax_tools/src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/Makefile b/lib/syntax_tools/src/Makefile index 62a24d98c0..50369e633e 100644 --- a/lib/syntax_tools/src/Makefile +++ b/lib/syntax_tools/src/Makefile @@ -23,7 +23,10 @@ RELSYSDIR = $(RELEASE_PATH)/lib/syntax_tools-$(VSN) EBIN = ../ebin -ERL_COMPILE_FLAGS += +warn_unused_vars +nowarn_shadow_vars +warn_unused_import +warn_obsolete_guard +ifeq ($(NATIVE_LIBS_ENABLED),yes) +ERL_COMPILE_FLAGS += +native +endif +ERL_COMPILE_FLAGS += +warn_unused_vars +nowarn_shadow_vars +warn_unused_import +warn_missing_spec +warn_untyped_record SOURCES=erl_syntax.erl erl_prettypr.erl erl_syntax_lib.erl \ erl_comment_scan.erl erl_recomment.erl erl_tidy.erl \ |