1
0

patch-Makefile_in 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- yasm-1.1.0.orig/Makefile.in 2010-08-07 18:38:18.000000000 +0200
  2. +++ yasm-1.1.0/Makefile.in 2011-11-09 17:09:40.963153539 +0100
  3. @@ -1843,7 +1843,7 @@ vsyasm_LDADD = libyasm.a $(INTLLIBS)
  4. # genstring build
  5. genstring_SOURCES =
  6. genstring_LDADD = genstring.$(OBJEXT)
  7. -genstring_LINK = $(CCLD_FOR_BUILD) -o $@
  8. +genstring_LINK = $(CCLD_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@
  9. all: $(BUILT_SOURCES) config.h
  10. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  11. @@ -4159,7 +4159,7 @@ version.mac: genversion$(EXEEXT)
  12. $(top_builddir)/genversion$(EXEEXT) $@
  13. genversion.$(OBJEXT): modules/preprocs/nasm/genversion.c
  14. - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c
  15. + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c
  16. #EXTRA_DIST += modules/preprocs/gas/tests/rawpp_test.sh
  17. #EXTRA_DIST += modules/preprocs/gas/tests/longline.asm
  18. @@ -4186,7 +4186,7 @@ module.c: $(top_srcdir)/libyasm/module.i
  19. $(top_builddir)/genmodule$(EXEEXT) $(top_srcdir)/libyasm/module.in Makefile
  20. genmodule.$(OBJEXT): libyasm/genmodule.c
  21. - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c
  22. + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f libyasm/genmodule.c || echo '$(srcdir)/'`libyasm/genmodule.c
  23. @BUILD_MAN_TRUE@yasm.1: frontends/yasm/yasm.xml
  24. @BUILD_MAN_TRUE@ $(XMLTO) -o $(top_builddir) man $(srcdir)/frontends/yasm/yasm.xml
  25. @@ -4209,7 +4209,7 @@ install-exec-hook: python-install
  26. uninstall-hook: python-uninstall
  27. genstring.$(OBJEXT): genstring.c
  28. - $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c
  29. + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c
  30. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  31. # Otherwise a system limit (for SysV at least) may be exceeded.