depot/third_party/nixpkgs/pkgs/tools/cd-dvd/srt-to-vtt-cl/fix-validation.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

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)