SOURCES: libsgml-opt.patch (NEW) - don't override optflags, use C ...

qboosh qboosh at pld-linux.org
Thu Dec 28 01:26:01 CET 2006


Author: qboosh                       Date: Thu Dec 28 00:26:01 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't override optflags, use C compiler to link as there is no C++ here

---- Files affected:
SOURCES:
   libsgml-opt.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libsgml-opt.patch
diff -u /dev/null SOURCES/libsgml-opt.patch:1.1
--- /dev/null	Thu Dec 28 01:26:01 2006
+++ SOURCES/libsgml-opt.patch	Thu Dec 28 01:25:56 2006
@@ -0,0 +1,24 @@
+--- libsgml-1.1.4/src/Makefile.in.orig	2003-03-24 09:48:21.000000000 +0100
++++ libsgml-1.1.4/src/Makefile.in	2006-12-28 01:17:41.955281502 +0100
+@@ -6,8 +6,8 @@
+ DEBUG=@DEBUG@
+ INCLUDE=-I../include -I.
+ LIBS=@LIBS@
+-CFLAGS=${DEBUG} ${INCLUDE} -Wall -O3
+-LFLAGS=${DEBUG} ${INCLUDE} -Wall -O3 -o
++CFLAGS=${DEBUG} ${INCLUDE} -Wall
++LFLAGS=${DEBUG} ${INCLUDE} -Wall -o
+ OBJS=DomComment.o DomDocument.o DomElement.o DomNode.o DomNodeList.o DomText.o SgmlExtensionHtml.o SgmlExtensionXml.o SgmlParser.o Variant.o
+ LIBNAME=../libsgml.a
+ LIBEXEC=ar rc ${LIBNAME} ${OBJS} ${LIBS} && ranlib ${LIBNAME}
+--- libsgml-1.1.4/configure.in.orig	2003-03-24 09:48:21.000000000 +0100
++++ libsgml-1.1.4/configure.in	2006-12-28 01:18:06.332670690 +0100
+@@ -42,7 +42,7 @@
+ if test "x$mmd_sys_os" = "xSolaris"; then 
+ 	LIBBIN="ld -dy -r -o ../libsgml.so \${OBJS}"
+ else
+-	LIBBIN="\${CXX} \${DEBUG} -Wall -O3 -shared -fPIC -o ../libsgml.so \${OBJS}"
++	LIBBIN="\${CC} \${DEBUG} -Wall -shared -fPIC -o ../libsgml.so \${OBJS}"
+ fi
+ 
+ AC_SUBST(LIBS)
================================================================


More information about the pld-cvs-commit mailing list