diff --git a/jpeg/Makefile b/jpeg/Makefile index 77ee7f4264d4..7a871af09d20 100644 --- a/jpeg/Makefile +++ b/jpeg/Makefile @@ -90,7 +90,9 @@ include $(DEPTH)/config/rules.mk # egcs-2.90.23 980102 (egcs-1.0.1 release) # ifeq ($(OS_ARCH)$(CPU_ARCH),Linuxalpha) +ifdef BUILD_OPT $(OBJDIR)/jidctred.o: jidctred.c @$(MAKE_OBJDIR) $(CC) -o $@ -c $(XP_DEFINE) -O $(OS_CFLAGS) $(MDUPDATE_FLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS) $(PROF_FLAGS) $< endif +endif