mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Meta+Documentation: Remove unused -DDEBUG from build
This commit is contained in:
parent
f26d4e1d90
commit
ca920ba082
Notes:
sideshowbarker
2024-07-18 09:11:57 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/ca920ba0825 Pull-request: https://github.com/SerenityOS/serenity/pull/8675 Reviewed-by: https://github.com/gunnarbeutner ✅
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
|||
add_compile_options(-fstack-clash-protection)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(DEBUG SANITIZE_PTRS)
|
||||
add_compile_definitions(SANITIZE_PTRS)
|
||||
set(CMAKE_CXX_FLAGS_STATIC "${CMAKE_CXX_FLAGS} -static")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pie -fpic")
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ First, make sure you have a working toolchain and can build and run SerenityOS.
|
|||
* Set `Add to version control` to `<None>`. Click Finish.
|
||||
* In your shell, go to your SerenityOS project directory, and invoke the `Meta/refresh-serenity-qtcreator.sh` script to regenerate the `serenity.files` file. You will also have to do this every time you delete or add a new file to the project.
|
||||
* Edit the `serenity.config` file (In Qt Creator, hit ^K or CMD+K on a Mac to open the search dialog, type the name of the file and hit return to open it)
|
||||
* Add the following `#define`s to the file: `DEBUG`, `SANITIZE_PTRS`, and `KERNEL`. Depending on what you are working on, you need to have that last define commented out. If you're planning on working in the userland, comment out `#define KERNEL`. If you're working on the Kernel, then uncomment `#define KERNEL`.
|
||||
* Add the following `#define`s to the file: `SANITIZE_PTRS`, and `KERNEL`. Depending on what you are working on, you need to have that last define commented out. If you're planning on working in the userland, comment out `#define KERNEL`. If you're working on the Kernel, then uncomment `#define KERNEL`.
|
||||
* Edit the `serenity.cxxflags` file to say `-std=c++2a -m32`
|
||||
* Edit the `serenity.includes` file, add the following lines:
|
||||
|
||||
|
|
Loading…
Reference in a new issue