packages/lang/erlang/patches/101-emulator_includes.patch
nico deeb71e81c [packages] add Erlang/OTP programming language
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 18:40:30 +00:00

12 lines
275 B
Diff

--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -591,7 +591,7 @@ endif
$(OBJDIR)/%.o: beam/%.c
- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
+ $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
else