build: We don't need sh-specific flags in the pictureflow build.

Change-Id: I1e9ab4332cbeb5aabc01edf825eace6152347e0a
This commit is contained in:
Solomon Peachy 2021-03-25 12:17:07 -04:00
parent 3d9d2de34d
commit d121aa3fe8

View file

@ -22,12 +22,7 @@ else
ROCKS += $(PICTUREFLOW_OBJDIR)/pictureflow.rock ROCKS += $(PICTUREFLOW_OBJDIR)/pictureflow.rock
endif endif
ifeq ($(CPU),sh)
# sh need to retain its' -Os
PICTUREFLOWFLAGS = $(PLUGINFLAGS)
else
PICTUREFLOWFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O2 PICTUREFLOWFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O2
endif
$(PICTUREFLOW_OBJDIR)/pictureflow.rock: $(PICTUREFLOW_OBJ) $(PICTUREFLOW_OBJDIR)/pictureflow.rock: $(PICTUREFLOW_OBJ)