mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
configure.ac: Explicitly set NODE_ENV when --enable-debug
This allows us to override a NODE_ENV=production from the environment and have our minimization webpack logic react appropriately. Reviewed-by: Dominik Perpeet <dperpeet@redhat.com>
This commit is contained in:
parent
11e4053b39
commit
4f2df889d7
1 changed files with 1 additions and 0 deletions
|
|
@ -458,6 +458,7 @@ if test "$enable_debug" = "yes"; then
|
|||
debug_status="yes"
|
||||
debugdir=
|
||||
CFLAGS="$CFLAGS -O0"
|
||||
NODE_ENV="development"
|
||||
elif test "$enable_debug" = "no"; then
|
||||
debug_status="no"
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue