Skip to content

Commit

Permalink
makefile: using Ofast flag instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiennq committed Oct 9, 2020
1 parent 271b583 commit f334a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ OBJ = shim.o
OBJS = $(patsubst %,$(ODIR)/%,$(OBJ))

$(TARGET): $(OBJS) | $(BDIR)
$(CC) -o $(TARGET) $^ $(CFLAGS) -Oz -static
$(CC) -o $(TARGET) $^ $(CFLAGS) -Ofast -static
sha256sum $(TARGET) > $(BDIR)/checksum.sha256
sha512sum $(TARGET) > $(BDIR)/checksum.sha512

$(ODIR)/%.o: %.cpp | $(ODIR)
$(CC) -c -o $@ $< $(CFLAGS) -Oz -g
$(CC) -c -o $@ $< $(CFLAGS) -Ofast -g

$(ODIR):
mkdir -p $(ODIR)
Expand Down

0 comments on commit f334a2c

Please sign in to comment.