Skip to content

Commit 4a9966b

Browse files
committed
Compile with level 3 optimization
1 parent 6d6ba39 commit 4a9966b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For example:
2828
### Compilation
2929

3030
``` bash
31-
g++ -std=c++17 -Wall -o fdic fdic.cpp dictionary.cpp
31+
g++ -std=c++17 -O3 -Wall -o fdic fdic.cpp dictionary.cpp
3232
```
3333

3434
### AUR

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ parts:
1616
- g++
1717
plugin: nil
1818
override-build: |
19-
g++ -std=c++17 -Wall -o fdic fdic.cpp dictionary.cpp
19+
g++ -O3 -std=c++17 -Wall -o fdic fdic.cpp dictionary.cpp
2020
install -D fdic $SNAPCRAFT_PART_INSTALL/bin/fdic
2121
install -Dm644 fdic.1 $SNAPCRAFT_PART_INSTALL/man/man1/fdic.1
2222
stage:

0 commit comments

Comments
 (0)