We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8dd5e commit cfb7af9Copy full SHA for cfb7af9
doc/guides/build-system/build-in-docker.md
@@ -116,14 +116,13 @@ e.g: if wanting to override STRING_WITH_SPACES
116
#### Normal Build
117
118
```shell
119
-CFLAGS=-DSTRING_WITH_SPACES='\"with space\" make
+CFLAGS='-DSTRING_WITH_SPACES="\"with space\""' make
120
```
121
122
#### In Docker
123
124
125
-DOCKER_ENVIRONMENT_CMDLINE='-e CFLAGS=-DSTRING_WITH_SPACES=\'\\\"with\ space\\\"\'' \
126
- BUILD_IN_DOCKER=1 make
+DOCKER_ENVIRONMENT_CMDLINE="-e CFLAGS='-DSTRING_WITH_SPACES=\\\"with\ space\\\"'" BUILD_IN_DOCKER=1 make
127
128
129
Alternatively, it is often easier to define the CFLAGS in the Makefile which gets
0 commit comments