diff --git a/README.md b/README.md index 3a03b62..4ec006f 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d ### All platforms: Build from source -Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++20 and Unix headers (`ioctl.h`, specifically) or `windows.h`. PRs are welcome. +Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++17 and Unix headers (`ioctl.h` and `sysexits.h`, specifically) or `windows.h`. PRs are welcome. ```sh git clone https://github.com/stefanhaustein/TerminalImageViewer.git diff --git a/src/Makefile b/src/Makefile index b5786f8..6da40ed 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ prefix ?= /usr/local exec_prefix ?= $(prefix) bindir ?= $(exec_prefix)/bin -override CXXFLAGS += -std=c++2a -Wall -fexceptions +override CXXFLAGS += -std=c++17 -Wall -fexceptions override LDFLAGS += -pthread all: $(PROGNAME)