diff options
-rw-r--r-- | lang/lua/module.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/lua/module.mk b/lang/lua/module.mk index 405082925b6..247359f3e2d 100644 --- a/lang/lua/module.mk +++ b/lang/lua/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.10 2020/07/11 15:30:52 nia Exp $ +# $NetBSD: module.mk,v 1.11 2020/07/11 15:33:51 nia Exp $ # # This Makefile fragment is intended to be included by packages that # install Lua modules. @@ -78,9 +78,9 @@ LDFLAGS.Darwin+= -bundle -undefined dynamic_lookup .if ${_LUA_VERSION} != "51" && ${_LUA_VERSION} != "52" # Any Lua>=5.3 module using these flags is invalid, # since Lua 5.3 and newer require "long long". -BUILDLINK_TRANSFORM+= opt:-ansi:-std=c99 -BUILDLINK_TRANSFORM+= opt:-std=c89:-std=c99 -BUILDLINK_TRANSFORM+= opt:-std=c90:-std=c99 +BUILDLINK_TRANSFORM+= rm:-ansi +BUILDLINK_TRANSFORM+= rm:-std=c89 +BUILDLINK_TRANSFORM+= rm:-std=c90 .endif .endif # LUA_MODULE_MK |