Displaying 11 results from an estimated 11 matches for "ldopt".
Did you mean:
adopt
2018 Sep 27
1
[PATCH] ocaml: make sure to pass LDFLAGS to ocamlmklibs linker (RHBZ#1624130)
Pass the LDFLAGS properly as arguments for the C linker when using
ocamlmklibs via the -ldopt option.
Followup of commit 34c23403c51a4d59d826c8045e06f9aabc2ceb16.
---
ocaml/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 752fc109c..4d13eed97 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -64,14 +64,...
2018 Feb 26
0
[PATCH hivex] ocaml: Link the C bindings with LDFLAGS (RHBZ#1548536).
Use the ocamlmklib -ldopt flag to pass the general $(LDFLAGS) when
calling gcc to link dllmlhivex.so. We were already passing $(CFLAGS)
when building the object file.
When building using Fedora's standard hardening flags this gives:
ocamlmklib -o mlhivex hivex_c.o hivex.cmo \
-verbose -ldopt '-Wl,-z,relro -sp...
2017 Oct 06
4
[PATCH nbdkit 0/3] misc fixes
Hi,
few miscellaneous fixes for nbdkit.
Thanks,
Pino Toscano (3):
build: use AC_MSG_RESULT for $PERL_LDOPTS
crypto: add missing '{'
tests: fix generation of PKI test data
configure.ac | 1 +
src/crypto.c | 2 +-
tests/Makefile.am | 10 +++++-----
3 files changed, 7 insertions(+), 6 deletions(-)
--
2.13.6
2014 Feb 13
5
[PATCH 1/2] nbdkit: Work around what seems like an bug in automake 1.14
"AM_INIT_AUTOMAKE(foreign) dnl ..." seems to trigger Debian bug#738716
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index ee9d377..df31014 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,8 @@ AC_CONFIG_MACRO_DIR([m4])
AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
-AM_INIT_AUTOMAKE(foreign) dnl NB: Do not
2020 Aug 20
0
[klibc:master] klcc: Treat CC, LD, STRIP as multiple words
...t-libgcc-file-name')
+ open(LIBGCC, '-|', @CC, @ccopt, '-print-libgcc-file-name')
or die "$0: cannot get libgcc filename\n";
$libgcc = <LIBGCC>;
chomp $libgcc;
close(LIBGCC);
if ( $shared ) {
- $rv = mysystem($LD, @LDFLAGS, @sharedopt, @ldopt, @outopt, @objs,
+ $rv = mysystem(@LD, @LDFLAGS, @sharedopt, @ldopt, @outopt, @objs,
@libs, @stdlibpath, '--start-group', @sharedlib,
$libgcc, '--end-group');
} else {
- $rv = mysystem($LD, @LDFLAGS, @staticopt, @ldopt, @outopt, @objs,
+ $rv = mysystem(@LD,...
2017 Sep 01
2
Re: The issue about code coverage for libguestfs
----- Original Message -----
> On Thu, Aug 31, 2017 at 05:45:38AM -0400, Yongkui Guo wrote:
> > Hi,
> >
> > I tried to do code coverage testing for libguestfs with gcov.
> >
> > The steps are shown as follows:
> > 1. Download and install the source package(libguestfs-1.36.5-1.el7.src.rpm)
>
> Probably best to try building this from git instead of
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
.../\.o$/ );
return "c-header" if ( $file =~ /\.h$/ );
return "cpp-output" if ( $file =~ /\.i$/ );
return "c++-cpp-output" if ( $file =~ /\.ii$/ );
@@ -109,7 +110,7 @@
} elsif ( $a =~ /^-Wl,(.*)$/ ) {
# -Wl used to pass options to the linker
push(@ldopt, split(/,/, $1));
- } elsif ( $a =~ /^-([fmwWQdO]|std=|ansi|pedantic)/ ) {
+ } elsif ( $a =~ /^-([fmwWQdODUI]|std=|ansi|pedantic)/ ) {
# Options to gcc
push(@ccopt, $a);
} elsif ( $a =~ /^-[gp]/ ) {
@@ -124,6 +125,7 @@
push(@ccopt, $a);
$save_temps = 1;
} elsif ( $a =~ '...
2017 Sep 01
0
Re: The issue about code coverage for libguestfs
...rstands a limited subset of linker flags, including -L but not
including -Wl.
Possibly something like this might work:
stamp-mlguestfs: libguestfsocaml.a $(guestfs_cmm)
$(OCAMLMKLIB) -o mlguestfs \
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
- $(LDFLAGS) \
+ -ldopt '$(LDFLAGS)' \
$(LTLIBINTL) \
-L../lib/.libs -lguestfs
(in all the places where $(LDFLAGS) is passed to ocamlmklib).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordp...
2011 Nov 25
2
[PATCH 6/7] Create 2 ocaml packages, libxen-4.1-ocaml and libxen-4.1-ocaml-dev.
...cma: $(foreach obj,$($(1)_OBJS),$(obj).cmx $(obj).cmo) $(foreach obj,$($(1)_C_OBJS),$(obj).o)
++ $(OCAMLMKLIB) -o $1 -oc $(1)_stubs $(foreach obj,$($(1)_OBJS),$(obj).cmx $(obj).cmo) $(foreach obj,$($(1)_C_OBJS),$(obj).o) $(foreach lib, $(LIBS_$(1)_SYSTEM), -cclib $(lib)) $(foreach arg,$(LIBS_$(1)),-ldopt $(arg))
+ endef
+
+ define OCAML_NOC_LIBRARY_template
+--- a/tools/ocaml/libs/xc/Makefile
++++ b/tools/ocaml/libs/xc/Makefile
+@@ -9,7 +9,8 @@
+ INTF = xenctrl.cmi
+ LIBS = xenctrl.cma xenctrl.cmxa
+
+-LIBS_xenctrl = -L$(XEN_ROOT)/tools/libxc -lxenctrl -lxenguest
++LIBS_xenctrl = $(LDLIBS_libxenc...
2011 Nov 29
6
[OCAML 0/7] V4 or so of the xen ocaml packaging patches
Here is the latest version of the patches to package the ocaml libraries. Changes
since last time:
* rename the packages from libxen-4.1-ocaml* to libxen-ocaml* - we wont be
looking to install multiple concurrent versions of the same package, so
the version doesn't need to be in the package name
* Removed superfluous GENCONTROL definitions - dh_ocaml does what we need
* Removed
2011 Nov 15
6
[OCAML 0/7] Xen ocaml library packaging
This is an update to the patches sent out on 25th October. I expect,
as before, that some of the larger patches won't get to the list so
they are also available here:
https://github.com/jonludlam/pkg-xen/commits/for-debian6.
Changes since last mail:
* I have split out the unrelated change to include 2 extra header files
in libxen-dev
* I have removed some instances of brace expansion