- disable strip, it destroys bytecode binaries

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=6
This commit is contained in:
2013-01-14 15:00:06 +00:00
committed by Git OBS Bridge
parent 68c5f37644
commit aab3d27617
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 14 15:58:16 CET 2013 - ohering@suse.de
- disable strip, it destroys bytecode binaries
-------------------------------------------------------------------
Mon Jan 14 10:07:21 CET 2013 - ohering@suse.de

View File

@@ -78,6 +78,9 @@ make all
%install
# get rid of /usr/lib/rpm/brp-strip-debug
# strip kills the bytecode part of ELF binaries
export NO_BRP_STRIP_DEBUG=true
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
make NATIVE=true install