File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,11 @@ cd $BUILDDIR
6464CFLAGS=" -g -O0"
6565` ` `
6666
67- - After running this command, the CFLAGS setting will apply only to the
68- current terminal session.
67+ - These flags modify the configuration defined in the next step,
68+ so that when R is built, C code will be compiled with debugging
69+ symbols (` -g` ) and compiler optimizations will be disabled
70+ (` -O0` ) so that the structure of the code closely matches the
71+ original source.
6972
7073** 6) Configure the build**
7174
Original file line number Diff line number Diff line change @@ -42,10 +42,14 @@ local_script
4242
4343# Remove the .vscode/settings.json file if it exists so that
4444# it does not interfere with the devcontainer.json
45+ <<< <<< < HEAD
4546rm -f " $WORK_DIR /.vscode/settings.json"
4647
4748# 1. Build the ptrace helper library
4849gcc -shared -fPIC -o " $SCRIPTS_DIR /allow_ptrace.so" " $SCRIPTS_DIR /allow_ptrace.c"
4950
5051# 2. Mark the wrapper executable
5152chmod +x " $SCRIPTS_DIR /launch_r.sh"
53+ =======
54+ rm -f .vscode/settings.json
55+ >>>>>>> 964acc0 ([pre-commit.ci] Fixing issues with pre-commit)
You can’t perform that action at this time.
0 commit comments