downgrade needed c++ to 17
This commit is contained in:
parent
cc4b4b30bd
commit
4e1709a7c5
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d
|
||||||
|
|
||||||
### All platforms: Build from source
|
### 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
|
```sh
|
||||||
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
|
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
|
||||||
|
|
|
@ -12,7 +12,7 @@ prefix ?= /usr/local
|
||||||
exec_prefix ?= $(prefix)
|
exec_prefix ?= $(prefix)
|
||||||
bindir ?= $(exec_prefix)/bin
|
bindir ?= $(exec_prefix)/bin
|
||||||
|
|
||||||
override CXXFLAGS += -std=c++2a -Wall -fexceptions
|
override CXXFLAGS += -std=c++17 -Wall -fexceptions
|
||||||
override LDFLAGS += -pthread
|
override LDFLAGS += -pthread
|
||||||
|
|
||||||
all: $(PROGNAME)
|
all: $(PROGNAME)
|
||||||
|
|
Loading…
Reference in a new issue