Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 23:10:24 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264092 - head/sys/boot/efi/libefi
Message-ID:  <201404032310.s33NAOpA043171@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Apr  3 23:10:23 2014
New Revision: 264092
URL: http://svnweb.freebsd.org/changeset/base/264092

Log:
  Add -fPIC for amd64
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/boot/efi/libefi/Makefile

Modified: head/sys/boot/efi/libefi/Makefile
==============================================================================
--- head/sys/boot/efi/libefi/Makefile	Thu Apr  3 22:32:12 2014	(r264091)
+++ head/sys/boot/efi/libefi/Makefile	Thu Apr  3 23:10:23 2014	(r264092)
@@ -6,6 +6,9 @@ INTERNALLIB=
 SRCS=	delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
 	libefi.c time.c
 
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
 CFLAGS+= -I${.CURDIR}/../include
 CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH}
 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404032310.s33NAOpA043171>