svn commit: r494456 - branches/2019Q1/multimedia/libmpeg2

Jan Beich jbeich at FreeBSD.org
Sat Mar 2 21:34:43 UTC 2019


Author: jbeich
Date: Sat Mar  2 21:34:42 2019
New Revision: 494456
URL: https://svnweb.freebsd.org/changeset/ports/494456

Log:
  MFH: r494455
  
  multimedia/libmpeg2: unbreak on armv7
  
  ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
  >>> defined in ./.libs/libmpeg2arch.a(motion_comp_arm_s.o)
  >>> referenced by motion_comp_arm_s.o:(.text+0x104) in archive ./.libs/libmpeg2arch.a
  
  Reported by:	pkg-fallout
  Approved by:	ports-secteam blankte

Modified:
  branches/2019Q1/multimedia/libmpeg2/Makefile
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/multimedia/libmpeg2/Makefile
==============================================================================
--- branches/2019Q1/multimedia/libmpeg2/Makefile	Sat Mar  2 21:33:55 2019	(r494455)
+++ branches/2019Q1/multimedia/libmpeg2/Makefile	Sat Mar  2 21:34:42 2019	(r494456)
@@ -15,6 +15,8 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 CONFIGURE_ARGS=	--enable-shared
+LDFLAGS_armv6=	-Wl,-z,notext
+LDFLAGS_armv7=	-Wl,-z,notext
 
 PORTDOCS=	libmpeg2.txt README
 


More information about the svn-ports-branches mailing list