diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /dev-embedded/picasm/files | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-embedded/picasm/files')
-rw-r--r-- | dev-embedded/picasm/files/picasm-1.14-makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-embedded/picasm/files/picasm-1.14-makefile.patch b/dev-embedded/picasm/files/picasm-1.14-makefile.patch new file mode 100644 index 000000000000..0ac5bacd7305 --- /dev/null +++ b/dev-embedded/picasm/files/picasm-1.14-makefile.patch @@ -0,0 +1,27 @@ +--- a/Makefile ++++ b/Makefile +@@ -5,21 +5,19 @@ + # See the file LICENSE for license terms. + # + +-DEFS=-DBUILTIN_INCLUDE1=\"/usr/local/share/picasm/include\" ++CPPFLAGS += -DBUILTIN_INCLUDE1=\"/usr/share/picasm/include\" + #DEFS=-DBUILTIN_INCLUDE1=\"/home/trossi/bin/picasm-include\" + +-CC = gcc +-CFLAGS = -Wall -Wshadow -W -Werror -O2 $(DEFS) ++CFLAGS += -Wall -Wshadow -W + RM = /bin/rm -f + + VERSION=114 + +-OBJS = picasm.o config.o token.o symtab.o expr.o \ ++OBJS = config.o token.o symtab.o expr.o \ + pic12bit.o pic14bit.o pic16bit.o \ + util.o + + picasm: $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) -o $@ + + clean: + $(RM) picasm *.o examples/*.hex examples/*.lst |