Fix build ("ld: error: duplicate symbol: RAM").

This commit is contained in:
Edward Tomasz Napierala 2020-08-31 12:22:32 +00:00
parent 726a625368
commit 535f9e100c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547170
2 changed files with 16 additions and 0 deletions

View File

@ -15,6 +15,8 @@ USE_GITHUB= yes
GH_ACCOUNT= mist64
GH_TAGNAME= 89093eba090d6e1c2d2b6e1cb1616dba0ce9c7f6
CFLAGS+= -fcommon
PLIST_FILES= bin/cbmbasic
do-install:

View File

@ -0,0 +1,14 @@
--- Makefile.orig 2014-12-06 23:57:18 UTC
+++ Makefile
@@ -1,10 +1,9 @@
OBJS=cbmbasic.o runtime.o plugin.o console.o
-CFLAGS=-Wall -O3
all: cbmbasic
cbmbasic: $(OBJS)
- $(CC) -o cbmbasic $(OBJS)
+ $(CC) $(CFLAGS) -o cbmbasic $(OBJS)
clean:
rm -f $(OBJS) cbmbasic