Author: sparky Date: Sun Dec 21 00:40:54 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - new: build flags fixes
---- Files affected: SOURCES: spgmr08-Makefile.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/spgmr08-Makefile.patch diff -u /dev/null SOURCES/spgmr08-Makefile.patch:1.1 --- /dev/null Sun Dec 21 01:40:55 2008 +++ SOURCES/spgmr08-Makefile.patch Sun Dec 21 01:40:49 2008 @@ -0,0 +1,29 @@ +--- spgmr08-0.12/Makefile~orig 2003-12-17 22:01:40.000000000 +0100 ++++ spgmr08-0.12/Makefile 2008-12-21 01:19:31.000000000 +0100 +@@ -53,7 +53,7 @@ + # Compiler flags + # + +-CFLAGS = -Wall -g -O2 -funsigned-char ++CFLAGS = -Wall $(OPTCFLAGS) -funsigned-char + # -mpentiumpro + + # compile in debugging code +@@ -79,7 +79,7 @@ + CFLAGS += -Wno-unused + # LDFLAGS += -static + +-LDLIBS = -lreadline -lhistory -lncurses ++LDLIBS = -lreadline + + OBJS=main.o basename.o args.o lin_serial.o s1utils.o seccodes.o mongp32.o \ + cli.o scan.o err.o rcfile.o utils.o ops.o ops_gp32.o jb8_driver.o +@@ -112,7 +112,7 @@ + all: $(TARGET) grammar.txt $(AS19S) + + $(TARGET): $(OBJS) +- $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS) + + $(LIBDIR)/program_ab32.s19: program_ab32.s19 + cp $< $@ ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
