diff mbox

[FFmpeg-devel] configure: Disable direct stripping on sunos.

Message ID CAB0OVGoY8QaO-rpaMpTZ+XZAXw12q0DvAnjzW--0rDoBeagXyg@mail.gmail.com
State Accepted
Headers show

Commit Message

Carl Eugen Hoyos Nov. 18, 2018, 3:29 a.m. UTC
Hi!

Attached patch simplifies building on sunos (which is currently broken
due to the sed call).

Please comment, Carl Eugen

Comments

Carl Eugen Hoyos Nov. 24, 2018, 11:41 p.m. UTC | #1
2018-11-18 4:29 GMT+01:00, Carl Eugen Hoyos <ceffmpeg@gmail.com>:

> Attached patch simplifies building on sunos (which is currently broken
> due to the sed call).

Patch applied.

Carl Eugen
diff mbox

Patch

From 1f0b943b5f9573990a0f5c6a608b1fbd65c62687 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Date: Sun, 18 Nov 2018 04:25:29 +0100
Subject: [PATCH] configure: Disable direct stripping on sunos.

Sunos strip doesn't know -o.
Reported-by: Michael Kostylev
---
 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 9bc4cf3..fa13db2 100755
--- a/configure
+++ b/configure
@@ -5141,6 +5141,7 @@  case $target_os in
             echo "hwcap_1 = OVERRIDE;" > mapfile &&
             add_ldflags -Wl,-M,mapfile
         nm_default='nm -P -g'
+        striptype=""
         version_script='-M'
         VERSION_SCRIPT_POSTPROCESS_CMD='perl $(SRC_PATH)/compat/solaris/make_sunver.pl - $(OBJS)'
         ;;
-- 
1.7.10.4