diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-03 07:52:06 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-03 18:08:05 -0600 |
| commit | b09f5251cb2b15bbf59064671ce7aa19f01b66c7 (patch) | |
| tree | 8f9b51617dd6213990cc4a31c817d84334960101 /nix | |
| parent | d9e89db78284fc1a9f0aa1ed86d076f50c58c1f2 (diff) | |
Makefile: disable lto for debug builds
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/flake.nix b/nix/flake.nix index 25eac80..6dabcd0 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -143,8 +143,8 @@ shellHook = '' export CROSS_COMPILE=arm-unknown-linux-gnueabi- export MAKEFLAGS="AR=gcc-ar" - export CXXFLAGS="-O3 -flto $(pkg-config --cflags sdl2 ncursesw)" - export LDFLAGS="-O3 -flto $(pkg-config --libs sdl2 ncursesw)" + export CXXFLAGS="$(pkg-config --cflags sdl2 ncursesw)" + export LDFLAGS="$(pkg-config --libs sdl2 ncursesw)" # <https://discourse.nixos.org/t/fonts-in-nix-installed-packages-on-a-non-nixos-system/5871/7> export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive" |
