Add -g flag to all calls to gcc as well.
This commit is contained in:
parent
3b949f4a8f
commit
d2b4c8340e
11
labltk-8.06.4-enable-more-debugging.patch
Normal file
11
labltk-8.06.4-enable-more-debugging.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- labltk-8.06.4.old/support/Makefile 2017-10-30 09:19:07.000000000 +0000
|
||||
+++ labltk-8.06.4/support/Makefile 2017-11-07 21:24:58.244605912 +0000
|
||||
@@ -28,7 +28,7 @@
|
||||
cltkFile.$(O) cltkMain.$(O) cltkMisc.$(O) cltkTimer.$(O) \
|
||||
cltkVar.$(O) cltkWait.$(O) cltkImg.$(O)
|
||||
|
||||
-CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS)
|
||||
+CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS) -g
|
||||
|
||||
COMPFLAGS=
|
||||
THFLAGS=-I +threads -I vmthreads
|
@ -17,6 +17,7 @@ Source0: https://forge.ocamlcore.org/frs/download.php/1727/labltk-8.06.4.t
|
||||
|
||||
# This adds debugging (-g) everywhere.
|
||||
Patch1: labltk-8.06.0-enable-debugging.patch
|
||||
Patch2: labltk-8.06.4-enable-more-debugging.patch
|
||||
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: tcl-devel, tk-devel
|
||||
@ -44,6 +45,7 @@ This package contains the development files.
|
||||
%setup -q -n labltk-%{version}
|
||||
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
# Remove version control files which might get copied into documentation.
|
||||
find -name .gitignore -delete
|
||||
@ -108,6 +110,7 @@ install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
|
||||
%changelog
|
||||
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 8.06.4-2
|
||||
- OCaml 4.06.0 rebuild.
|
||||
- Add -g flag to all calls to gcc as well.
|
||||
|
||||
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 8.06.4-1
|
||||
- New upstream version 8.06.4.
|
||||
|
Loading…
Reference in New Issue
Block a user