Package: simulpic
Severity: normal
Tags: patch

When building 'simulpic' on amd64 with gcc-4.0,
I get the following error:

make[1]: Entering directory `/simulpic-2005-1-28'
g++ -g -fPIC -O -Wall -fwritable-strings -fno-exceptions -I. 
-I/usr/include/g++-3    -c -o simulpic.o simulpic.cc
cc1plus: error: unrecognized command line option "-fwritable-strings"
make[1]: *** [simulpic.o] Error 1
make[1]: Leaving directory `/simulpic-2005-1-28'
make: *** [build-stamp] Error 2

With the attached patch 'simulpic' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/simulpic-2005-1-28/Makefile ./Makefile
--- ../tmp-orig/simulpic-2005-1-28/Makefile     2005-01-28 06:19:03.000000000 
+0100
+++ ./Makefile  2005-02-10 20:20:42.404955714 +0100
@@ -8,9 +8,7 @@
 
 ALLSRC=$(IECSRC) $(SRCS) $(INCLUDES) Makefile Copyright README simulpic.doc 
simulpic.1
 
-CFLAGS= -g -fPIC -O -Wall -fwritable-strings -fno-exceptions \
-       -I. -I/usr/include/g++-3
-
+CFLAGS= -g -fPIC -O -Wall -fno-exceptions -I.
 
 CXX= g++ $(CFLAGS)
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to