Revert "switch to -std=c11" : code does not get compiled without unofficial extensions in some Linux

This reverts commit 5848e22f0a.
This commit is contained in:
Garux 2020-01-24 02:47:33 +03:00
parent 1f59dac119
commit ebf88b0842

View File

@ -514,7 +514,7 @@ endif
$(CXX) $< $(CFLAGS) $(CXXFLAGS) $(CFLAGS_COMMON) $(CXXFLAGS_COMMON) $(CPPFLAGS_EXTRA) $(CPPFLAGS_COMMON) $(CPPFLAGS) $(TARGET_ARCH) -c -o $@
%.o: %.c $(if $(findstring $(DEPEND_ON_MAKEFILE),yes),$(wildcard Makefile*),) | dependencies-check
$(CC) $< -std=c11 $(CFLAGS) $(CFLAGS_COMMON) $(CPPFLAGS_EXTRA) $(CPPFLAGS_COMMON) $(CPPFLAGS) $(TARGET_ARCH) -c -o $@
$(CC) $< $(CFLAGS) $(CFLAGS_COMMON) $(CPPFLAGS_EXTRA) $(CPPFLAGS_COMMON) $(CPPFLAGS) $(TARGET_ARCH) -c -o $@
ifeq ($(OS),Win32)
ifeq ($(shell ARCH),i686)