diff options
author | Micael Karlberg <[email protected]> | 2011-10-18 18:08:29 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-10-18 18:08:29 +0200 |
commit | 1193fdece4ff5b5bc127e638db5eeb018014c7af (patch) | |
tree | 18a3dbdd40a26db1b83373fbd43ba816af42a44d /lib/inets/src/inets_app/inets.mk | |
parent | 32027e9b4724d61aaffe7d3df168e69238f814e9 (diff) | |
download | otp-1193fdece4ff5b5bc127e638db5eeb018014c7af.tar.gz otp-1193fdece4ff5b5bc127e638db5eeb018014c7af.tar.bz2 otp-1193fdece4ff5b5bc127e638db5eeb018014c7af.zip |
Make it possible to compile with an R14B compiler.
Diffstat (limited to 'lib/inets/src/inets_app/inets.mk')
-rw-r--r-- | lib/inets/src/inets_app/inets.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/inets/src/inets_app/inets.mk b/lib/inets/src/inets_app/inets.mk index b6e9fe1d96..35fb0d7eca 100644 --- a/lib/inets/src/inets_app/inets.mk +++ b/lib/inets/src/inets_app/inets.mk @@ -33,6 +33,10 @@ ifeq ($(WARN_UNUSED_WARS), true) ERL_COMPILE_FLAGS += +warn_unused_vars endif +ifeq ($(shell erl -noshell -eval 'io:format("~4s", [erlang:system_info(otp_release)])' -s init stop), R14B) +INETS_ERL_COMPILE_FLAGS += -D'OTP-R14B-COMPILER' +endif + INETS_APP_VSN_COMPILE_FLAGS = \ +'{parse_transform,sys_pre_attributes}' \ +'{attribute,insert,app_vsn,$(APP_VSN)}' |