Displaying 20 results from an estimated 2054 matches for "ldflag".
Did you mean:
ldflags
2011 Nov 03
3
[PATCH 0 of 2 RESEND] tools: add two new compile flags and perform checks on user defined folders.
Added two new sets of compile flags, and pass them to the check scripts, so libraries and includes are searched there also.
Resend this patches because they suffered some modifications and where scattered along the mailing list.
Please review, thanks Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Mar 16
3
[PATCH] tools: do not link against unused libraries
...$(LIBVHDDIR) -lvhd
+VHDLIBS := -L$(LIBVHDDIR) -lvhd
REMUS-OBJS := block-remus.o
REMUS-OBJS += hashtable.o
@@ -88,26 +84,26 @@ all: $(IBIN) lock-util qcow-util
all: $(IBIN) lock-util qcow-util
-tapdisk2: $(TAP-OBJS-y) $(BLK-OBJS-y) $(MISC-OBJS-y) tapdisk2.c
- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) $(AIOLIBS) $(MEMSHRLIBS) $(LBLIBS_img)
+tapdisk2: $(TAP-OBJS-y) $(BLK-OBJS-y) $(MISC-OBJS-y) tapdisk2.o
+ $(CC) -o $@ $^ $(LDFLAGS) -lrt -lz $(VHDLIBS) $(AIOLIBS) $(MEMSHRLIBS) -lm
tapdisk-client: tapdisk-client.o
- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) $(LBLIBS_img)
+ $(CC) -o...
2016 Jan 19
2
OpenSSH portability & buildsystem fixes
...,6 @@ piddir=@piddir@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
-DESTDIR=
VPATH=@srcdir@
SSH_PROGRAM=@bindir@/ssh
ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
@@ -163,41 +162,41 @@ libssh.a: $(LIBSSH_OBJS)
$(RANLIB) $@
ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS)
- $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHLIBS) $(LIBS) $(GSSLIBS)
+ $(CC) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHLIBS) $(LIBS) $(GSSLIBS)
sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS)
- $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) $(GSSLIBS) $(K5LIBS)
+...
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..4...
2004 Feb 09
1
iconv detection on Irix 6.5
...d the test programs. I've
attached the diff. Changing LOOK_DIRS="/usr /usr/local /sw" to also
include /opt might be useful for Irix builds.
--- samba-3.0.2/source/configure Fri Feb 6 17:44:44 2004
+++ configure Mon Feb 9 13:12:23 2004
@@ -19939,7 +19939,7 @@
save_LDFLAGS=$LDFLAGS
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$i/include"
- LDFLAGS="$LDFLAGS -L$i/lib"
+ LDFLAGS="$LDFLAGS -L$i/lib32"
LIBS=
export LDFLAGS LIBS CPPFLAGS
@@ -20219,8 +20219,8 @@
if test "$ICONV_FOUND" = yes; the...
2007 Dec 06
1
[PATCH] Makefile: CFLAGS, LDFLAGS
Split CFLAGS into CFLAGS (user part) and AM_CFLAGS (not-so-user part;
variable name taken from automake, but otherwise no relation).
Also add LDFLAGS.
This allows me to use `make CFLAGS="-O2 -fPIE" LDFLAGS="-pie"` without
dropping the other important (AM_CFLAGS) flags.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
---
btrfs-progs/Makefile | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletio...
2001 Oct 07
3
Using -lssh as shared library
...ed" into link and dep
lines in Makefile, so if there is no libopenbsd-compat
(but it's contents is within -lssh), link will be funny.
Second patch, openssh-2.9.9p2-ssh_libs.diff, introduces
two make variables, SSH_LIBS="libopenbsd-compat.a libssl.a",
for dependence lines, and SSH_LDFLAGS="-lssl -lopenbsd-compat",
for link lines, and replaces hardcoded libssl.a etc with
those 2 variables.
Note that before the change, ssh-keyscan linked with -lssh
twice:
$(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS)
Looking into -lssh and -lopenbsd-compat, I d...
2002 Mar 09
0
Little cleanup for -lz
...It is a big trouble -- dealing with incompatibility
in autoconf. I'll have it soon.
-------------- next part --------------
--- openssh-3.1p1/configure.ac.zlib Wed Feb 27 09:12:35 2002
+++ openssh-3.1p1/configure.ac Sat Mar 9 03:35:52 2002
@@ -359,6 +359,7 @@
)
dnl zlib is required
+ZLIB_LDFLAGS=
AC_ARG_WITH(zlib,
[ --with-zlib=PATH Use zlib in PATH],
[
@@ -367,15 +368,15 @@
fi
if test -d "$withval/lib"; then
if test -n "${need_dash_r}"; then
- LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
+ ZLIB_LDFLAGS="-L${withval...
2008 Jun 19
2
[LLVMdev] [llvm-gcc][patch] Use LDFLAGS from configure
The attached patch permits setting the LDFLAGS variable in the call to
configure. This is the behavior of configure on gcc trunk. Not sure
why llvm-gcc is different.
This is necessary for building llvm-gcc in cases where some libraries
are in strange places:
CPPFLAGS="-I/foo/include" LDFLAGS="-L/foo/lib" configure ....
C...
2020 Jun 29
2
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld woes
In the rgdal package, configure.ac has had : ${LDFLAGS=`"${RBIN}" CMD
config LDFLAGS`} at least since 2012, so picking up LDFLAGS known to the R
version installed. Very recently, users installing rgdal from source with
R installed from RPM are seeing problems, such as those reported in this
thread: https://stat.ethz.ch/pipermail/r-sig-ge...
2016 May 13
2
2.2.24 ldap-client.c compile failing on Solaris 10
...39;
Current working directory /v/tomppa/src/dovecot-2.2.24/src/lib-ldap
*** Error code 1
CC='cc -std=c11'
CXX='CC -std=c++11'
CFLAGS=-xO4
CFLAGS="${CFLAGS} -`fpversion -foption`"
CPPFLAGS="-I/usr/local/include"
CPPFLAGS="${CPPFLAGS} -I/usr/sfw/include"
LDFLAGS="-R/usr/local/lib:/usr/sfw/lib:/usr/lib/sasl:/usr/lib/mps"
LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/usr/sfw/lib"
LDFLAGS="${LDFLAGS} -L/usr/lib/sasl -L/usr/lib/mps"
export CC CXX CFLAGS CPPFLAGS LDFLAGS
./configure \
--with-gssapi \
--with-ldap \
--with-mysql \
--with...
2013 Feb 03
1
Ports and WITH_LIBCPLUSPLUS
...2p/libtorrent
net/hupnp
net/ns3
net/xmlrpc-c-devel
science/openbabel
security/pinentry
sysutils/fusefs-kmod
sysutils/synergy
textproc/clucene
x11/nvidia-driver
where at least ns3 can be ignored ( I created that port myself ). I think
nvidia-driver and fusefs-kmod now fails due to -stdlib=libc++ in LDFLAGS,
normally fusefs-kmod just fails install-phase due to missing pkg-message
file.
I saved the workdirs for poudriere, and they are available at
http://benriach.widell.net/~andrnils/libc++/ , both as individual tarballs
and one tarball that includes all the others. There is also the lists of
package...
2006 Sep 23
3
[Bug 1234] configure adds opensc libs to LDFLAGS when it should use LIBS
http://bugzilla.mindrot.org/show_bug.cgi?id=1234
Summary: configure adds opensc libs to LDFLAGS when it should use
LIBS
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: bitbucket...
2001 Mar 27
0
Kerberos4 / AFS library issues
...pport
-KRB4_MSG="no"
-AC_ARG_WITH(kerberos4,
- [ --with-kerberos4=PATH Enable Kerberos 4 support],
- [
- if test "x$withval" != "xno" ; then
-
- if test "x$withval" != "xyes" ; then
- CPPFLAGS="$CPPFLAGS -I${withval}/include"
- LDFLAGS="$LDFLAGS -L${withval}/lib"
- if test ! -z "$need_dash_r" ; then
- LDFLAGS="$LDFLAGS -R${withval}/lib"
- fi
- if test ! -z "$blibpath" ; then
- blibpath="$blibpath:${withval}/lib"
- fi
- else
- if test -d /usr/include/kerbe...
2012 Dec 21
2
more compiler safety flags
...01:45:25 -0000 1.8
+++ aclocal.m4 17 Dec 2012 03:56:32 -0000
@@ -21,6 +21,23 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{
)
}])
+dnl OSSH_CHECK_CFLAG_LINK(check_flag[, define_flag])
+dnl Check that $LD accepts a flag 'check_flag'. If it is supported append
+dnl 'define_flag' to $LDFLAGS. If 'define_flag' is not specified, then append
+dnl 'check_flag'.
+AC_DEFUN([OSSH_CHECK_LDFLAG_LINK], [{
+ AC_MSG_CHECKING([if $LD supports $1])
+ saved_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $1"
+ _define_flag="$2"
+ test "x$_define_flag" =...
2009 Sep 15
3
[LLVMdev] C API linking problem
...m and LLVM TOT which was
compiled with enable-optimized, gcc is 4.3.2.
15:26|melis at juggle2:~/c/llvmpy> cat t.c
#include "llvm-c/Core.h"
int main()
{
LLVMContextRef ctx;
ctx = LLVMContextCreate();
return 0;
}
15:29|melis at juggle2:~/c/llvmpy> llvm-config --cflags --ldflags --libs all
-I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer -fPIC
-L/home/melis/llvm/lib -lpthread -ldl -lm
-lLLVMLinker -lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT
-lLLVMExecutionEngine -lLLVMDebugger -lLLV...
2009 Feb 20
4
openssh-5.1p1 configure failure
Hi
If I try to run configure for openssh-5.1p1 with --wtih-selinux option
it fails giving the error "selinux support requires selinux library"
all of the below also dont work
a) --wtih-selinux
b) --wtih-selinux=path of cross complied library
c) LDFLAGS=-Lpath of cross complied library
if I remove --wtih-selinux option I am able to everything is fine.
How to solve this error?
Thanks for your time
Regards
Basavaraj
2000 Nov 09
2
SCO Openserver Patch
...to configure to DISABLE_SHADOW if HAVE_SCO_PROTECTED_PW is defined. I have
tested this on Openserver 5.0.5 and 5.0.6. Here is the universal patch fo
configure to allow it to work with openserver.
--- configure Sun Nov 5 21:25:18 2000
+++ /configure Thu Nov 9 14:18:21 2000
@@ -1685,7 +1685,7 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib"
MANTYPE='$(CATMAN)'
mansubdir=cat
- LIBS="$LIBS -lgen -lsocket -los -lprot -lx"
+ LIBS="$LIBS -lgen -lsocket -los -lprot -lx -ltinfo -lm"
no_dev_ptmx=1
RANLIB=true
cat >> confdefs.h <<\EOF
@@ -1703,11 +1703,12...
2015 Jan 28
2
[LLVMdev] CMake: Gold linker detection
I reacted as per my case. You need CFLAGS in order to what linker you might be using.
In case of clang, you can use “-fuse-ld” to control the invocation of linker.
In my opinion, it is not necessary to carry forward LDFLAGS unless you want to control specific parts of the linker.
In my case, I have a cross compiler for ARM and I usually compile the code with
Clang –sysroot=<path_to_sysroot> --gcc-toolchain=<path_to_toolchain> -target=<triple> file.c
Where I pass “–sysroot=<path_to_sysroot&...
2002 May 29
0
Need help compiling on HPUX 11.00 for 2.2.4
...#############################################
prefix=/opt/samba
exec_prefix=${prefix}
mandir=${prefix}/man
sysconfdir=${prefix}/etc
LIBS=-lgen -lsec -lnsl
CC=gcc
SHLD=/usr/bin/ld
CFLAGS=-O
CPPFLAGS= -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE
-D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4
LDFLAGS=
AWK=awk
DYNEXP=-Wl,-E
TERMLDFLAGS=
TERMLIBS=
LINK=$(CC) $(FLAGS) $(LDFLAGS)
INSTALLCMD=./install-sh -c
srcdir=.
builddir=/tmp/samba/samba-2.2.4/source
top_builddir=.
SHELL=/bin/sh
BASEDIR= /opt/samba
BINDIR = ${exec_prefix}/bin
DATADIR = ${prefix}/share
# sbindir is mapped to bindir when co...