Squash commits for public release
This commit is contained in:
24
third_party/tinysh/patches/0001-llvm_support.patch
vendored
Normal file
24
third_party/tinysh/patches/0001-llvm_support.patch
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
--- src/Makefile 2022-03-11 18:07:01.000000000 +0300
|
||||
+++ src/Makefile_new 2022-03-11 18:07:06.000000000 +0300
|
||||
@@ -1,13 +1,18 @@
|
||||
# Simple C Shell Makefile
|
||||
|
||||
CC = gcc
|
||||
-CFLAGS = -Wall -g
|
||||
+LD = gcc
|
||||
+CFLAGS = -Wall -g
|
||||
+LDFLAGS = -Wall -g
|
||||
OBJ = simple-c-shell.o
|
||||
|
||||
all: simple-c-shell
|
||||
|
||||
simple-c-shell: $(OBJ)
|
||||
- $(CC) $(CFLAGS) -o simple-c-shell $(OBJ)
|
||||
+ $(LD) $(LDFLAGS) -o simple-c-shell $(OBJ)
|
||||
|
||||
%.o: %.c
|
||||
- $(CC) $(CFLAGS) -c $<
|
||||
+ $(CC) $(CFLAGS) -c $<
|
||||
+
|
||||
+clean:
|
||||
+ rm -rf $(OBJ)
|
||||
Reference in New Issue
Block a user