achernya pushed to mosh (f22). "Add -fPIC to CFLAGS"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun Apr 26 15:44:54 UTC 2015
>From 3c6e9febf95fee62977abe52b78ae4ac4cb80b07 Mon Sep 17 00:00:00 2001
From: Alexander Chernyakhovsky <achernya at mit.edu>
Date: Sun, 26 Apr 2015 11:37:03 -0400
Subject: Add -fPIC to CFLAGS
diff --git a/mosh.spec b/mosh.spec
index 83dabb7..af9fdf1 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -31,7 +31,7 @@ Mosh is a remote terminal application that supports:
%build
# Use upstream's more aggressive hardening instead of Fedora's defaults
-export CFLAGS="-g -O2" CXXFLAGS="-g -O2"
+export CFLAGS="-g -O2 -fPIC" CXXFLAGS="-g -O2 -fPIC"
%configure --enable-compile-warnings=error
make %{?_smp_mflags}
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/mosh.git/commit/?h=f22&id=3c6e9febf95fee62977abe52b78ae4ac4cb80b07
More information about the scm-commits
mailing list