Skip to content

Commit 854ed89

Browse files
prepare for merge back
1 parent 5e195a0 commit 854ed89

File tree

3 files changed

+2
-26
lines changed

3 files changed

+2
-26
lines changed

.github/workflows/build_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122

123123
- name: Prepare CMake
124124
working-directory: ${{runner.workspace}}/build
125-
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release
125+
run: cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release
126126

127127
- name: Build
128128
working-directory: ${{runner.workspace}}/build

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
7171
if (MSVC)
7272
set(SDRPP_COMPILER_FLAGS /std:c++17 /EHsc)
7373
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
74-
set(SDRPP_COMPILER_FLAGS -g -Og -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fsanitize=address)
74+
set(SDRPP_COMPILER_FLAGS -g -Og -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
7575
else ()
7676
set(SDRPP_COMPILER_FLAGS -g -Og -std=c++17)
7777
endif ()

src/main.cpp

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
11
#include <core.h>
22
#include <stdio.h>
3-
#include <unistd.h>
4-
5-
extern char **environ;
63

74
int main(int argc, char* argv[], char* envp[]) {
8-
FILE* dump = fopen("/Users/ryzerth/dump.txt", "wb");
9-
10-
char buf[1024];
11-
fprintf(dump, "Working directory: %s\n\n", getcwd(buf, 1023));
12-
13-
fprintf(dump, "Arguments:\n");
14-
fprintf(dump, "----------\n");
15-
for (int i = 0; i < argc; i++) {
16-
fprintf(dump, "%d: '%s'\n", i, argv[i]);
17-
}
18-
fprintf(dump, "\n");
19-
20-
fprintf(dump, "Environment Variables:\n");
21-
fprintf(dump, "----------\n");
22-
for (char** env = environ; *env; env++) {
23-
fprintf(dump, "%s\n", *env);
24-
}
25-
fprintf(dump, "\n");
26-
27-
fclose(dump);
28-
295
return sdrpp_main(argc, argv);
306
}

0 commit comments

Comments
 (0)