Mercurial > mxe-octave
diff src/libgcrypt.mk @ 2997:4f9b72cf7ee7
allow native builds too
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 May 2013 17:31:59 -0400 |
parents | b9db9b09d641 |
children | dabfd7db980c |
line wrap: on
line diff
--- a/src/libgcrypt.mk Sun May 26 13:32:22 2013 -0400 +++ b/src/libgcrypt.mk Tue May 28 17:31:59 2013 -0400 @@ -18,17 +18,11 @@ define $(PKG)_BUILD cd '$(1)' && autoreconf && ./configure \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ --host='$(TARGET)' \ --build="`config.guess`" \ $(ENABLE_SHARED_OR_STATIC) \ - --prefix='$(PREFIX)/$(TARGET)' \ - --with-gpg-error-prefix='$(PREFIX)/$(TARGET)' + --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= ln -sf '$(PREFIX)/$(TARGET)/bin/libgcrypt-config' '$(PREFIX)/bin/$(TARGET)-libgcrypt-config' - - '$(TARGET)-gcc' \ - -W -Wall -Werror -ansi -pedantic \ - '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libgcrypt.exe' \ - `$(TARGET)-libgcrypt-config --cflags --libs` - endef