depot/third_party/nixpkgs/pkgs/by-name/sr/srt-to-vtt-cl/fix-validation.patch

13 lines
320 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,4 @@
-ERR = $(shell which clang++ >/dev/null; echo $$?)
-ifeq "$(ERR)" "0"
- CXX ?= clang++
-else
- CXX ?= g++
-endif
+CXX ?= g++
CXXFLAGS = -std=c++11 -O2 -MMD -I ./deps
OBJECTS := src/text_encoding_detect.o src/Utils.o src/Converter.o src/main.o
DEPENDS := $(OBJECTS:.o=.d)