Skip to content

Commit

Permalink
syntax_tools: Support the --enable-native-libs configure option
Browse files Browse the repository at this point in the history
While at it, turn on some more warnings.
  • Loading branch information
kostis authored and bjorng committed Feb 14, 2010
1 parent b366554 commit 649d313
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/syntax_tools/src/Makefile
Expand Up @@ -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 \
Expand Down

0 comments on commit 649d313

Please sign in to comment.